
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 320px;
    max-width: calc(100% - 40px);
    padding: 20px;
    background: #151515;
    color: #fff;
    border: 1px solid #444;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,.35);
    z-index: 999999;
    font-family: inherit;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
    display: none !important;
}

.cookie-banner p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 15px;
}

.cookie-banner a {
    color: #f4c542;
    text-decoration: underline;
}

/* Buttons */
.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.cookie-buttons button {
    flex: 1 1 auto;
    min-height: 38px;
    padding: 9px 12px;
    background: #f4c542;
    color: #111;
    border: 1px solid #f4c542;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-buttons button:nth-child(2),
.cookie-buttons button:nth-child(3) {
    background: transparent;
    color: #fff;
}

.cookie-buttons button:hover {
    opacity: .8;
}

/* Settings Modal */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    z-index: 1000000;
}

.cookie-modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    background: #171717;
    color: #fff;
    border: 1px solid #444;
    border-radius: 12px;
}

.cookie-modal-content h3 {
    font-size: 23px;
    margin: 0 0 12px;
}

.cookie-modal-content > p {
    font-size: 13px;
    line-height: 1.6;
    color: #ccc;
}

.cookie-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Cookie Categories */
.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 17px 0;
    border-top: 1px solid #444;
}

.cookie-category h4 {
    margin: 0 0 6px;
    font-size: 15px;
}

.cookie-category p {
    margin: 0;
    color: #bbb;
    font-size: 12px;
    line-height: 1.6;
}

.cookie-category strong {
    color: #f4c542;
    font-size: 12px;
    white-space: nowrap;
}

.cookie-category input {
    width: 20px;
    height: 20px;
    accent-color: #f4c542;
    cursor: pointer;
    flex-shrink: 0;
}

/* Mobile */
@media(max-width: 480px) {
    .cookie-banner {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }

    .cookie-modal-content {
        padding: 22px 17px;
    }
}

