/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------



--------------------------------------------------------------*/

 .cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    z-index: 9998;
    transition: transform 0.4s ease,
      opacity 0.4s ease;
    border: 1px solid #f0f0f0;
    font-family: sans-serif;
}

.cookie-banner--hidden {
    transform: translateY(40px);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner__text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 16px 0;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}

.cookie-btn--accept {
    background: #111;
    color: #fff;
}

.cookie-btn--accept:hover {
    background: #222;
}

.cookie-btn--reject {
    background: #f5f5f7;
    color: #555;
}

.cookie-btn--reject:hover {
    background: #e8e8ed;
}

.cookie-btn--settings {
    background: transparent;
    color: #111;
    text-decoration: underline;
    padding: 10px;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    font-family: sans-serif;
}

.cookie-modal--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-modal__window {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin: 20px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.cookie-modal__header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal__header h3 {
    margin: 0;
    font-size: 18px;
}

.cookie-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.cookie-modal__body {
    padding: 20px;
    overflow-y: auto;
}

.cookie-modal__footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option__info {
    padding-right: 20px;
}

.cookie-option__info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.cookie-option__info p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle__slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background-color: green;
}

.cookie-toggle input:checked + .cookie-toggle__slider:before {
    transform: translateX(20px);
}

.cookie-toggle__slider--disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.cookie-toggle input:checked + .cookie-toggle__slider--disabled {
    background-color: #888;
}

.cookie-banner__link {
    color: #111111;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.cookie-banner__link:hover {
    color: #666666;
}
