/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner__text h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #ffad31;
}

.cookie-banner__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-banner__btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-banner__btn--accept-all {
    background-color: #ffad31;
    color: #000;
}

.cookie-banner__btn--accept-all:hover {
    background-color: #ffb84d;
    transform: translateY(-2px);
}

.cookie-banner__btn--customize {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-banner__btn--customize:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-banner__btn--reject {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-banner__btn--reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.cookie-banner__btn--save {
    background-color: #ffad31;
    color: #000;
    width: 100%;
    margin-top: 20px;
}

.cookie-banner__btn--save:hover {
    background-color: #ffb84d;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-settings-modal__content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-settings-modal__header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

.cookie-settings-modal__header h3 {
    margin: 0;
    font-size: 24px;
    color: #1a1a1a;
}

.cookie-settings-modal__close {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.cookie-settings-modal__close:hover {
    color: #000;
}

.cookie-settings-modal__body {
    padding: 20px;
}

.cookie-settings__item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-settings__item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-settings__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-settings__item-header h4 {
    margin: 0;
    font-size: 18px;
    color: #1a1a1a;
}

.cookie-settings__item p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle__slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background-color: #ffad31;
}

.cookie-toggle input:checked + .cookie-toggle__slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
    background-color: #ffad31;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-modal__footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    position: sticky;
    bottom: 0;
    background-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__buttons {
        width: 100%;
    }

    .cookie-banner__btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-settings-modal__content {
        max-width: 100%;
        margin: 10px;
    }
}

/* Privacy Policy Checkbox in Forms */
.privacy-checkbox {
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.privacy-checkbox label {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    cursor: pointer;
}

.privacy-checkbox label a {
    color: #ffad31;
    text-decoration: underline;
}

.privacy-checkbox label a:hover {
    color: #ffb84d;
}

.privacy-checkbox.error {
    color: #dc3545;
}

.privacy-checkbox.error label {
    color: #dc3545;
}

