/* Policy Modals Styles */
.policy-modal {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.policy-content {
    padding: 1.5rem 0;
}

.policy-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h3 {
    color: #d4af37;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-section h3:before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background: linear-gradient(135deg, #d4af37, #f0d080);
    border-radius: 2px;
}

.policy-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    position: relative;
}

.policy-section li:before {
    content: '•';
    color: #d4af37;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.policy-modal-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.policy-modal-footer .btn-primary {
    min-width: 120px;
    padding: 0.75rem 2rem;
}

/* Scrollbar for policy content */
.policy-modal::-webkit-scrollbar {
    width: 6px;
}

.policy-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.policy-modal::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 3px;
}

.policy-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7);
}

/* Light theme adjustments */
[data-theme="light"] .policy-section {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .policy-section p {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .policy-section li {
    color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .policy-modal-footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .policy-modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .policy-modal::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
}

[data-theme="light"] .policy-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7);
}

/* Responsive design */
@media (max-width: 768px) {
    .policy-modal {
        max-width: 95vw;
        max-height: 85vh;
        margin: 10px;
    }
    
    .policy-content {
        padding: 1rem 0;
    }
    
    .policy-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .policy-section h3 {
        font-size: 1.1rem;
    }
    
    .policy-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .policy-modal {
        max-height: 90vh;
    }
    
    .policy-section h3 {
        font-size: 1rem;
    }
    
    .policy-section p,
    .policy-section li {
        font-size: 0.9rem;
    }
}