/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid #000;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    padding: 18px 18px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cookie-consent-banner::before {
    content: '';
    position: absolute;
    inset: -2px;
    background:
        linear-gradient(135deg, rgba(47, 111, 78, 0.20) 0%, rgba(47, 111, 78, 0.00) 55%),
        linear-gradient(45deg, rgba(127, 176, 105, 0.16) 0%, rgba(127, 176, 105, 0.00) 60%);
    pointer-events: none;
}

.cookie-consent-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.04) 0px,
        rgba(0, 0, 0, 0.04) 1px,
        rgba(0, 0, 0, 0.00) 10px,
        rgba(0, 0, 0, 0.00) 18px
    );
    opacity: 0.22;
    pointer-events: none;
}

.cookie-consent-content,
.cookie-notification {
    position: relative;
    z-index: 1;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-green, #2F6F4E);
    margin: 0 0 10px 0;
}

.cookie-consent-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark, #333);
    margin: 0;
}

.cookie-consent-link {
    color: var(--primary-green, #2F6F4E);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-consent-link:hover {
    text-decoration: none;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-accept {
    background: var(--primary-green, #2F6F4E);
    color: white;
    border-color: #000;
}

.cookie-consent-accept:hover {
    opacity: 0.9;
    box-shadow: 0 10px 24px rgba(47, 111, 78, 0.22);
    transform: translateY(-1px);
}

.cookie-consent-necessary {
    background: white;
    color: var(--text-dark, #333);
    border-color: #000;
}

.cookie-consent-necessary:hover {
    background: rgba(248, 246, 240, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-1px);
}

.cookie-consent-decline {
    background: white;
    color: #e74c3c;
    border-color: #000;
}

.cookie-consent-decline:hover {
    background: rgba(231, 76, 60, 0.08);
    box-shadow: 0 10px 24px rgba(231, 76, 60, 0.18);
    transform: translateY(-1px);
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark, #333);
    padding: 16px 24px;
    border-radius: 18px;
    border: 1px solid #000;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px) saturate(160%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.cookie-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.cookie-notification i {
    font-size: 1.2rem;
    color: var(--primary-green, #2F6F4E);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .cookie-consent-content {
        gap: 16px;
    }

    .cookie-consent-title {
        font-size: 1.1rem;
    }

    .cookie-consent-description {
        font-size: 0.9rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-consent-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .cookie-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        font-size: 0.9rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
    }

    .cookie-consent-buttons {
        flex-shrink: 0;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
    }

    .cookie-consent-buttons {
        flex-shrink: 0;
    }
}

