/* =========================================
   COOKIE BANNER
========================================= */

.cookie-banner {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 920px;
    background: rgba(5, 50, 60, 0.96);
    color: #f4f3f2;
    border: 1px solid rgba(82, 154, 171, 0.22);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    z-index: 9999;
    animation: cookieSlideUp 0.35s ease;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    color: #f4f3f2;
}

.cookie-text strong {
    color: #ffffff;
}

.cookie-text a {
    color: #6bc1ff;
    text-decoration: none;
    font-weight: 600;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.cookie-btn.primary {
    background: #529aab;
    color: #fff;
}

.cookie-btn.primary:hover {
    background: #6bc1ff;
}

.cookie-btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.cookie-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================
   COOKIE MODAL
========================================= */

.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 50, 60, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    color: #05323c;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(5, 50, 60, 0.08);
}

.cookie-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(5, 50, 60, 0.08);
    color: #05323c;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    background: rgba(82, 154, 171, 0.18);
}

.cookie-modal-content h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #05323c;
}

.cookie-modal-intro {
    margin: 0 0 18px;
    color: #4c6b73;
    line-height: 1.6;
    font-size: 14px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 14px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4c6b73;
}

.cookie-option input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #529aab;
}

.cookie-option strong {
    color: #05323c;
}

.cookie-modal-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 12px;
        width: calc(100% - 20px);
        padding: 16px;
        border-radius: 14px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .cookie-modal-content {
        padding: 20px 16px;
    }

    .cookie-modal-actions {
        justify-content: stretch;
    }

    .cookie-modal-actions .cookie-btn {
        width: 100%;
    }
}