/**
 * Cookie Consent Banner Styles
 *
 * Professional, GDPR-compliant consent banner for Google Maps cookies
 */

/* Banner container */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

/* Banner content wrapper */
.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Banner text */
.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #5dade2;
}

/* Banner buttons */
.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-consent-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

/* Accept button */
.cookie-consent-btn.accept {
    background-color: #27ae60;
    color: #ffffff;
}

.cookie-consent-btn.accept:hover {
    background-color: #2ecc71;
}

/* Decline button */
.cookie-consent-btn.decline {
    background-color: #7f8c8d;
    color: #ffffff;
}

.cookie-consent-btn.decline:hover {
    background-color: #95a5a6;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 15px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-consent-text {
        text-align: center;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-consent-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .cookie-consent-text p {
        font-size: 13px;
    }

    .cookie-consent-btn {
        font-size: 13px;
    }
}

/* Map wrapper styles (ensure consistency) */
.map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.map-wrapper iframe {
    display: block;
}

/* Map fallback styles */
.map-fallback {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.map-fallback p {
    margin: 0;
}

.map-fallback a {
    color: var(--primary-color, #007bff);
    text-decoration: underline;
}

.map-fallback a:hover {
    color: var(--primary-hover, #0056b3);
    text-decoration: none;
}
