/* Legal Pages Common Styling (Terms & Privacy) */
.legal-content-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.legal-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.legal-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.legal-intro-card {
    background: linear-gradient(135deg, #007d7c 0%, #005a5a 100%);
    color: #ffffff;
    margin-bottom: 30px;
}

.legal-intro-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.legal-last-updated {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.legal-intro-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #ffffff;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.legal-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007d7c 0%, #00a5a4 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.legal-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.legal-section-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 15px;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.legal-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
}

.legal-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #007d7c;
    font-weight: 700;
    font-size: 18px;
}

.legal-subsection {
    margin-top: 25px;
    margin-bottom: 25px;
}

.legal-subsection h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    padding-left: 15px;
    border-left: 3px solid #007d7c;
}

.legal-note {
    background: #f7fafc;
    border-left: 4px solid #007d7c;
    padding: 12px 15px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #4a5568;
}

.legal-important-note {
    background: #e6f7f7;
    border: 2px solid #007d7c;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #005a5a;
    text-align: center;
    margin-bottom: 20px;
}

.legal-highlight-card {
    background: linear-gradient(to right, #fef5e7, #fff);
    border-left: 4px solid #f39c12;
}

.legal-security-card {
    background: linear-gradient(to right, #e6f7f7, #fff);
    border-left: 4px solid #007d7c;
}

.legal-security-card .legal-section-number {
    background: linear-gradient(135deg, #007d7c 0%, #00a5a4 100%);
}

.legal-rights-card {
    background: linear-gradient(to right, #f0fdf4, #fff);
    border-left: 4px solid #10b981;
}

.legal-rights-card .legal-section-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.legal-warning-card {
    background: linear-gradient(to right, #ffebee, #fff);
    border-left: 4px solid #e74c3c;
}

.legal-warning-card .legal-section-number {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.legal-contact-card {
    background: linear-gradient(135deg, #007d7c 0%, #005a5a 100%);
    color: #ffffff;
}

.legal-contact-card .legal-section-number {
    background: #ffffff;
    color: #007d7c;
}

.legal-contact-card .legal-section-title,
.legal-contact-card .legal-section-content p {
    color: #ffffff;
}

.legal-contact-info {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 8px;
    margin-top: 15px;
}

.legal-contact-info p {
    margin-bottom: 15px;
    color: #ffffff !important;
    font-size: 16px;
}

.legal-contact-info p:last-child {
    margin-bottom: 0;
}

.legal-contact-info a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.legal-contact-info a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content-section {
        padding: 40px 0;
    }

    .legal-card {
        padding: 20px;
    }

    .legal-intro-header h1 {
        font-size: 24px;
    }

    .legal-section-title {
        font-size: 20px;
    }

    .legal-section-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .legal-list li {
        padding-left: 25px;
        font-size: 14px;
    }

    .legal-subsection h4 {
        font-size: 16px;
    }
}

