﻿.cookie-popup {
    position: fixed;
    bottom: 1vw;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 600px;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    z-index: 9999;
    padding: 2vh 1vw;
    max-height: 35vh;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
    color: #222;
}

.cookie-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.consent-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.consent-modal-content {
    border-radius: 10px;
    max-width: 480px;
    width: 100%;
    padding: 24px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    background-color: var(--bs-cardBodyColor);
}

    .consent-modal-content h3 {
        margin-top: 0;
    }

.consent-modal-intro {
    font-size: 13px;
    margin-bottom: 16px;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

    .consent-row:last-of-type {
        border-bottom: none;
    }

    .consent-row strong {
        font-size: 14px;
    }

    .consent-row p {
        font-size: 13px;
        margin: 4px 0 0;
    }

    .consent-row input[type="checkbox"] {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }

.consent-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        justify-content: stretch;
    }
}

.consent-close-btn {
    display: flex;
    justify-self: flex-end;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease-in-out;
}

    .consent-close-btn:hover {
        color: #333;
    }
