/* ========================== Cookie Banner CSS ========================== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 90%;
    background: linear-gradient(135deg, #ff6600, #ff8c1a);
    color: #fff;
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    font-family: "Unbounded", sans-serif;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    font-size: 1.3rem;
}

.cookie-popup.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}


.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cookie-content h3 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
}

.cookie-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #fff;
}

.cookie-content a {

    color:rgb(0, 79, 189);
    text-decoration: underline;
    font-weight: 600;
}

/* ========================== Butons ========================== */
.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.cookie-buttons button {
    padding: 14px 26px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}


.btn-primary {
    background-color: #fff;
    color: #ff6600;
}
.btn-primary:hover {
    background-color: #f2f2f2;
}
.btn-secondary {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.4);
}
.btn-success {
    background-color: #fff;
    color: #ff6600;
}
.btn-success:hover {
    background-color: #f2f2f2;
}

/* ========================== Modal (Settings) ========================== */
body.modal-open {
    overflow: hidden;
}

.cookie-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.6);
}

.cookie-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 35px 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    font-family: "Unbounded", sans-serif;
    font-size: 1.3rem;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-modal-content h3{
    margin-bottom: 30px;
}



/* Scrollbar (Webkit + Firefox) */
.cookie-modal-content::-webkit-scrollbar {
    width: 8px;
}
.cookie-modal-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 8px;
}
.cookie-modal-content::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}
.cookie-modal-content {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}


.cookie-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.cookie-close:hover {
    color: red;
}

/* ========================== Cookie Row & Switch ========================== */
.cookie-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.cookie-row a {
    color: #ff6600;
    text-decoration: underline;
}
.cookie-text {
    flex: 1;
}
.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.6rem;
}
.cookie-text p {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.7;
}

/* Switch  */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}
.switch input {
    display: none;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #ff6600;
}
input:checked + .slider:before {
    transform: translateX(24px);
}

/* ========================== Responsive========================== */
@media (max-width: 768px) {
    .cookie-popup {
        width: 95%;
        bottom: 15px;
        padding: 8px 10px;
        border-radius: 14px;
        font-size: 1.4rem;
    }

    .cookie-content {
        text-align: center;
        gap: 18px;
    }

    .cookie-content h3 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .cookie-content p {
        font-size: 1.3rem;
        line-height: 1.7;
    }

    .cookie-content a {
        display: inline-block;
        font-size: 1.2rem;
        text-decoration: underline;
        margin-top: 6px;
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        margin-top: 20px;
    }

    .cookie-buttons button {
        width: 100%;
        max-width: 340px;
        font-size: 1.25rem;
        padding: 14px 0;
        border-radius: 10px;
    }

    .cookie-modal-content {
        width: 92%;
        margin: 10% auto;
        padding: 25px 20px;
        font-size: 1.3rem;
        border-radius: 14px;
        max-height: 85%;
    }

  .cookie-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
    }

    .cookie-text h4 {
        font-size: 1.5rem;
    }

    .cookie-text p {
         flex: 1;
        font-size: 1.3rem;
        line-height: 1.6;
    }

    .switch {
         flex-shrink: 0;
        width: 55px;
        height: 30px;
    }

    .slider:before {
        width: 26px;
        height: 26px;
    }
}
