/**
 * CF7 Google Address Map - Styles
 */

.cf7-map-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cf7-form-col {
    flex: 1;
    min-width: 0;
}

.cf7-map-col {
    flex: 1;
    min-width: 0;
}

.cf7-address-map {
    width: 100%;
    height: 300px;
    background: #eee;
}

.cf7-gam-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.cf7-gam-dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    border-bottom: 1px solid #eee;
}

.cf7-gam-dropdown-item:last-child {
    border-bottom: none;
}

.cf7-gam-dropdown-item:hover,
.cf7-gam-dropdown-item--active {
    background: #f0f0f0;
}

.cf7-gam-dropdown-hint {
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    font-style: italic;
}

.cf7-gam-error {
    color: #dc3232;
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.4;
}

.cf7-address-invalid {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 1px #dc3232 !important;
}

@media (max-width: 768px) {
    .cf7-map-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .cf7-form-col,
    .cf7-map-col {
        width: 100%;
        flex: none;
    }
}
