/* =====================================================
   COOKIE BANNER STYLES
====================================================== */

/* Cookie Banner */
.notice-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-less) 100%);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    padding: 20px;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    color: #E0E0E0;
}

.cookie-banner-text h4 {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

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

/* Cookie Modal */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: var(--dark-bg);
    border: 2px solid var(--gold);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-modal-header {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid var(--gold-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    margin: 0;
    font-size: 1.4rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.cookie-modal-close:hover {
    color: var(--gold-light);
}

.cookie-modal-body {
    padding: 20px;
    color: #E0E0E0;
}

.cookie-modal-body > p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--dark-less);
    border-radius: 6px;
    border: 1px solid rgba(190, 157, 49, 0.2);
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cookie-category-info h4 {
    color: var(--gold-light);
    font-family: 'Cinzel', serif;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.cookie-category-info p {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-category-info small {
    color: #B0B0B0;
    font-size: 0.8rem;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-top: 2px;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: 0.3s;
    border-radius: 24px;
}

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

input:checked + .cookie-slider {
    background-color: var(--gold);
}

input:disabled + .cookie-slider {
    background-color: var(--gold-dark);
    cursor: not-allowed;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider:before {
    background-color: #ddd;
}

.cookie-modal-footer {
    padding: 10px 20px 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Cookie Buttons */
.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-accept-all {
    background: var(--gold);
    color: var(--dark-bg);
}

.btn-accept-all:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-customize {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-customize:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.btn-reject {
    background: transparent;
    color: #ccc;
    border: 1px solid #666;
}

.btn-reject:hover {
    background: #666;
    color: white;
}

.footer-cookie-link {
    color: #ffc107 !important;
    text-decoration: none;
    /* font-size: 0.9rem; */
    /* transition: color 0.3s ease; */
    cursor: pointer;
}

.footer-cookie-link:hover {
    /* color: var(--gold); */
    /* text-decoration: underline; */
}

.footer-cookie-link:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .btn-cookie {
        width: 100%;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-switch {
        align-self: flex-start;
    }
}

