/* TEP-GNSS Manuscript Styles */
/* Color Palette: Purple/Slate (#220126, #495773) */

/* Executive Summary */
.executive-summary {
    background: linear-gradient(135deg, rgba(34, 1, 38, 0.05) 0%, rgba(73, 87, 115, 0.05) 100%);
    border: 1px solid rgba(73, 87, 115, 0.3);
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.executive-summary h2 {
    color: #220126;
    margin-top: 0;
    text-align: center;
    font-size: 24px;
}

.executive-summary h3 {
    color: #220126;
    margin-top: 0;
}

.summary-section {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.summary-section ul,
.summary-section ol {
    line-height: 1.6;
    margin: 10px 0;
}

.summary-conclusion {
    background-color: rgba(73, 87, 115, 0.08);
    border: 1px solid rgba(73, 87, 115, 0.4);
    padding: 20px;
    border-radius: 6px;
}

.summary-footnotes {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(73, 87, 115, 0.2);
}

.summary-footnotes p {
    font-size: 12px;
    color: #888;
    margin: 5px 0 0 0;
}

/* Callout Boxes */
.callout-box {
    background-color: rgba(245, 245, 245, 0.6);
    border-left: 3px solid #666;
    padding: 12px;
    margin: 15px 0;
}

.callout-box-info {
    background-color: rgba(245, 245, 245, 0.6);
    border-left: 3px solid #495773;
    padding: 12px;
    margin: 15px 0;
}

.callout-box-warning {
    background-color: rgba(255, 243, 205, 0.3);
    border-left: 3px solid #f0ad4e;
    padding: 12px;
    margin: 15px 0;
}

/* Experimental Section */
.experimental-section {
    background-color: #f8f8ff;
    border: 2px solid #495773;
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.experimental-section h3 {
    margin-top: 0;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.data-table thead tr {
    background-color: rgba(45, 1, 64, 0.1);
}

.data-table th {
    padding: 10px;
    text-align: left;
    border: 1px solid #495773;
    font-weight: 600;
}

.data-table td {
    padding: 8px;
    border: 1px solid #495773;
    vertical-align: top;
}

.data-table tbody tr:nth-child(even) {
    background-color: rgba(73, 87, 115, 0.03);
}

.data-table tbody tr:hover {
    background-color: rgba(73, 87, 115, 0.08);
}

/* Results Tables */
.results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
}

.results-table thead tr {
    background-color: rgba(73, 87, 115, 0.15);
}

.results-table th {
    padding: 8px;
    text-align: left;
    border: 1px solid #495773;
    font-weight: 600;
}

.results-table td {
    padding: 6px 8px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.results-table tbody tr:nth-child(even) {
    background-color: rgba(73, 87, 115, 0.03);
}

/* Comparison Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 13px;
}

.comparison-table thead tr {
    background-color: rgba(73, 87, 115, 0.12);
}

.comparison-table th {
    padding: 8px;
    text-align: left;
    border: 1px solid #495773;
    font-weight: 600;
}

.comparison-table td {
    padding: 6px 8px;
    border: 1px solid #ddd;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: rgba(73, 87, 115, 0.03);
}

/* Highlight Boxes */
.highlight-box {
    background-color: rgba(255, 255, 240, 0.5);
    border: 1px solid rgba(73, 87, 115, 0.3);
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.highlight-box-primary {
    background-color: rgba(34, 1, 38, 0.05);
    border: 1px solid rgba(34, 1, 38, 0.2);
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

/* Statistical Boxes */
.stats-box {
    background-color: rgba(240, 248, 255, 0.5);
    border: 1px solid rgba(73, 87, 115, 0.3);
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.stats-box h4 {
    color: #220126;
    margin-top: 0;
    font-size: 16px;
}

/* Method Boxes */
.method-box {
    background-color: rgba(245, 245, 245, 0.8);
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.method-box h4 {
    color: #220126;
    margin-top: 0;
    font-size: 16px;
}

/* Figure Captions */
.figure-caption {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 8px;
    text-align: center;
}

.figure-caption strong {
    color: #220126;
    font-style: normal;
}

/* Equation Boxes */
.equation-box {
    background-color: rgba(250, 250, 250, 0.8);
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    border-radius: 4px;
}

/* Key Points Lists */
.key-points {
    background-color: rgba(255, 255, 255, 0.9);
    border-left: 4px solid #495773;
    padding: 15px 15px 15px 20px;
    margin: 15px 0;
}

.key-points h4 {
    color: #220126;
    margin-top: 0;
    font-size: 16px;
}

.key-points ul {
    margin: 10px 0;
    padding-left: 20px;
}

.key-points li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Validation Boxes */
.validation-box {
    background-color: rgba(240, 255, 240, 0.5);
    border: 1px solid rgba(73, 87, 115, 0.3);
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.validation-box h4 {
    color: #220126;
    margin-top: 0;
    font-size: 16px;
}

/* Discussion Boxes */
.discussion-box {
    background-color: rgba(255, 250, 240, 0.5);
    border: 1px solid rgba(73, 87, 115, 0.3);
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

/* Code Blocks */
.code-block {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    overflow-x: auto;
}

/* Section Headers */
.section-header {
    color: #220126;
    border-bottom: 2px solid rgba(73, 87, 115, 0.3);
    padding-bottom: 8px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.subsection-header {
    color: #220126;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Inline Emphasis */
.text-primary {
    color: #220126;
}

.text-secondary {
    color: #495773;
}

.text-muted {
    color: #888;
}

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Font Sizes */
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.text-base { font-size: 14px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 18px; }
.text-2xl { font-size: 24px; }

/* Line Heights */
.leading-tight { line-height: 1.4; }
.leading-normal { line-height: 1.6; }
.leading-relaxed { line-height: 1.8; }

/* Border Radius */
.rounded-sm { border-radius: 4px; }
.rounded { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
