/* Cookie Consent Modal Styles */
#cookieConsentModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#cookieConsentModal.show {
    display: flex;
}

.cookie-consent-content {
    background: #1C1D20;
    border: 2px solid #E8BF96;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.cookie-consent-content h2 {
    color: #E8BF96;
    font-size: 28px;
    margin-bottom: 20px;
}

.cookie-consent-content p {
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cookie-option {
    background: rgba(232, 191, 150, 0.05);
    border: 1px solid rgba(232, 191, 150, 0.2);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cookie-option-header h4 {
    color: #E8BF96;
    font-size: 16px;
    margin: 0;
}

.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: #555;
    transition: 0.3s;
    border-radius: 26px;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #E8BF96;
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-option p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cookie-consent-actions button {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept-all {
    background: #E8BF96;
    color: #1C1D20;
}

.btn-accept-all:hover {
    background: #d4a97d;
}

.btn-save-preferences {
    background: transparent;
    border: 2px solid #E8BF96;
    color: #E8BF96;
}

.btn-save-preferences:hover {
    background: rgba(232, 191, 150, 0.1);
}

.btn-reject-all {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-reject-all:hover {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-policy-link {
    color: #E8BF96;
    text-decoration: underline;
    cursor: pointer;
}

.cookie-policy-link:hover {
    color: #d4a97d;
}

/* Policy Modal */
.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.policy-modal.show {
    display: flex;
}

.policy-modal-content {
    background: #1C1D20;
    border: 2px solid #E8BF96;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.policy-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #E8BF96;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
}

.policy-modal-content h2 {
    color: #E8BF96;
    font-size: 32px;
    margin-bottom: 20px;
}

.policy-modal-content h3 {
    color: #E8BF96;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-modal-content p,
.policy-modal-content ul {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-modal-content ul {
    padding-left: 20px;
}

.policy-modal-content li {
    margin-bottom: 8px;
}

.policy-modal-content strong {
    color: #E8BF96;
}

@media (max-width: 768px) {
    .cookie-consent-content,
    .policy-modal-content {
        padding: 30px 20px;
    }
    
    .cookie-consent-actions {
        flex-direction: column;
    }
    
    .cookie-consent-actions button {
        width: 100%;
    }
}
