/* Legal Page Styles - Matching Analytics Box Design */
.legal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: white;
    font-family: 'Inter', sans-serif;
}

.legal-content h1 {
    color: #60a5fa;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Boxes - Matching Analytics Cards */
.legal-content h2 {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 30px 0 20px 0;
    color: #60a5fa;
    font-size: 1.4rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.legal-content h3 {
    color: #93c5fd;
    font-size: 1.1rem;
    margin: 20px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #334155;
}

/* Risk Warning Box - Special Styling */
.risk-warning {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: 2px solid #f87171;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.risk-warning h3 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    border: none;
    padding: 0;
}

/* Content Sections */
.legal-content ul {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 20px 25px;
    margin: 15px 0;
    list-style: none;
}

.legal-content ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.legal-content ul li::before {
    content: "•";
    color: #3b82f6;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

/* Tables */
.sanctions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sanctions-table th {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #60a5fa;
    padding: 15px 20px;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
}

.sanctions-table td {
    padding: 12px 20px;
    border-bottom: 1px solid #334155;
    color: #e2e8f0;
}

.sanctions-table tr:last-child td {
    border-bottom: none;
}

/* Paragraphs in boxes */
.legal-content > p {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    line-height: 1.6;
}

/* Links */
.legal-content a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Footer Box */
.legal-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 25px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.legal-footer p {
    margin: 0;
    color: #cbd5e1;
    font-weight: 500;
}

/* Contact section */
.legal-content h2 + ul {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid #3b82f6;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 20px 15px;
    }
    
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
        padding: 15px 20px;
    }
    
    .sanctions-table th,
    .sanctions-table td {
        padding: 10px 15px;
        font-size: 14px;
    }
}
