/* =====================================================
   COOKIE CONSENT BANNER
===================================================== */

.cookie-banner {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;

    z-index: 999999;

    background: rgba(255, 255, 255, 0.98);

    border-top: 1px solid #e2e8f0;

    box-shadow:
        0 -10px 35px rgba(15, 23, 42, 0.08);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

        padding: 13px 46px;

    opacity: 1;
    visibility: visible;

    transform: translateY(0);

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;

    box-sizing: border-box;
}


/* =====================================================
   HIDDEN STATE
===================================================== */

.cookie-banner.cookie-hidden {

    opacity: 0;

    visibility: hidden;

    transform: translateY(100%);

    pointer-events: none;
}


/* =====================================================
   CONTENT
===================================================== */

.cookie-content {

    width: 100%;

    max-width: 1800px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =====================================================
   MESSAGE
===================================================== */

.cookie-message {

    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 0;
}


.cookie-icon {

    flex-shrink: 0;

    font-size: 12px;

    line-height: 1;
}


.cookie-message p {

    margin: 0;

    color: #526075;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 400;

    line-height: 1.5;
}


.cookie-message a {

    color: #2563eb;

    text-decoration: none;

    font-weight: 600;

    transition: 0.25s ease;
}


.cookie-message a:hover {

    color: #7c3aed;

    text-decoration: underline;
}


/* =====================================================
   ACTIONS
===================================================== */

.cookie-actions {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


/* =====================================================
   BUTTON BASE
===================================================== */

.cookie-btn {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 128px;
    height: 30px;
    padding: 0 17px;

    border-radius: 14px;

    font-family: "Poppins", sans-serif;

    font-size: 10px;

    font-weight: 600;

    cursor: pointer;

    border: 1px solid transparent;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;

    -webkit-tap-highlight-color: transparent;
}


/* =====================================================
   DECLINE
===================================================== */

.cookie-btn-decline {

    background: #ffffff;

    color: #475569;

    border-color: #dbe2ea;
}


.cookie-btn-decline:hover {

    background: #f8fafc;

    border-color: #cbd5e1;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.06);
}


/* =====================================================
   ACCEPT
===================================================== */

.cookie-btn-accept {

    color: #ffffff;

    border: none;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #7c3aed
        );

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.18);
}


.cookie-btn-accept:hover {

    transform: translateY(-3px);

    box-shadow:
        0 16px 32px rgba(37, 99, 235, 0.28);
}


.cookie-btn:active {

    transform: translateY(0) scale(0.98);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 992px) {

    .cookie-banner {

        padding: 18px 25px;
    }

    .cookie-content {

        gap: 20px;
    }

    .cookie-message p {

        font-size: 15px;
    }

    .cookie-btn {

        min-width: 110px;

        height: 50px;

        font-size: 15px;

        padding: 0 18px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .cookie-banner {

        padding: 18px 18px;
    }

    .cookie-content {

        flex-direction: column;

        align-items: stretch;

        gap: 16px;
    }

    .cookie-message {

        align-items: flex-start;
    }

    .cookie-message p {

        font-size: 14px;

        line-height: 1.55;
    }

    .cookie-actions {

        width: 100%;
    }

    .cookie-btn {

        flex: 1;

        width: 50%;

        min-width: 0;

        height: 48px;

        font-size: 14px;
    }
}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .cookie-banner {

        padding: 16px 14px;
    }

    .cookie-message {

        gap: 10px;
    }

    .cookie-icon {

        font-size: 18px;
    }

    .cookie-message p {

               font-size: 10px;
    }

    .cookie-actions {

        gap: 8px;
    }

    .cookie-btn {

              height: 33px;
        border-radius: 12px;
        font-size: 10px;
    }
}