/*
 * Copyright (c) 2025 MSIH LLC. All rights reserved.
 * This file is developed for Make Sure It Happens Inc.
 * Unauthorized copying, modification, distribution, or use is prohibited.
 */

/* Shared Content Page Styles */
/* Used by Terms, Privacy, and other content pages to eliminate duplicate CSS */

/* Content Container Styles */
.content-page {
    line-height: 1.6;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Heading Styles */
.content-page h1 {
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 600;
}

.content-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.content-page h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 600;
}

/* Text Styles */
.content-page p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content-page ul, 
.content-page ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.content-page strong {
    font-weight: 600;
}

/* Table Styles */
.content-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.content-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

.content-table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

/* Generic table styling for backward compatibility */
.content-page .table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.content-page .table td {
    vertical-align: top;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-page {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .content-page p {
        text-align: left;
    }
    
    .content-table {
        font-size: 0.875rem;
    }
    
    .content-table th,
    .content-table td {
        padding: 0.5rem;
    }
}
