/* assets/css/calculo-estrutural-vigas.css */
/* Estilos específicos para Calculadora de Vigas Estruturais */
/* CORES DE ENGENHARIA CIVIL APLICADAS */

/* ===================================
   CORES ENGENHARIA CIVIL - ATUALIZADO
   ================================== */
:root {
    --primary: #78716c;          /* Cinza concreto */
    --secondary: #d97706;        /* Laranja construção */
    --accent: #059669;           /* Verde sustentável */
    --light: #f5f5f4;            /* Fundo cinza claro */
    --gradient: linear-gradient(135deg, #78716c, #d97706);
    
    /* Cores específicas vigas - baseadas na paleta civil */
    --vigas-primary: #78716c;     /* Cinza estrutural */
    --vigas-secondary: #d97706;   /* Laranja construção */
    --vigas-accent: #059669;      /* Verde sustentável */
    --vigas-bg: #f5f5f4;          /* Fundo suave */
    --vigas-border: #e5e7eb;      /* Bordas neutras */
    --vigas-text: #374151;        /* Texto principal */
    --vigas-shadow: rgba(120, 113, 108, 0.1);
    --vigas-momento: #dc2626;     /* Vermelho para momento */
    --vigas-cortante: #059669;    /* Verde para cortante */
}

/* ===================================
   LAYOUT PRINCIPAL VIGAS
   ================================== */
body[data-page="calculo-estrutural-vigas"] {
    background: linear-gradient(135deg, var(--light) 0%, #f3f4f6 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===================================
   HEADER DA CALCULADORA
   ================================== */
.calc-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--vigas-shadow);
}

.calc-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calc-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

/* ===================================
   CONTAINER DA CALCULADORA
   ================================== */
.calc-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   SEÇÃO DE INPUTS VIGAS
   ================================== */
.calc-input-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--vigas-border);
    transition: all 0.3s ease;
}

.calc-input-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.calc-input-section h3 {
    color: var(--vigas-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid var(--vigas-secondary);
    padding-bottom: 0.5rem;
}

/* ===================================
   SEÇÕES ESPECÍFICAS VIGAS
   ================================== */
.vigas-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--vigas-bg);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.vigas-section.active {
    border-color: var(--vigas-primary);
    background: #f9fafb;
    box-shadow: 0 3px 15px var(--vigas-shadow);
}

.vigas-section h4 {
    color: var(--vigas-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-left: 3px solid var(--vigas-secondary);
    padding-left: 0.8rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group:last-child {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--vigas-text);
    font-size: 0.95rem;
}

.input-group select,
.input-group input[type="number"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--vigas-primary);
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-group select:focus,
.input-group input[type="number"]:focus {
    border-color: var(--vigas-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(120, 113, 108, 0.1);
    background: #f8f9fa;
}

/* ===================================
   INPUT COM UNIDADE
   ================================== */
.input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-unit input {
    flex: 1;
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.input-with-unit .unit {
    background: var(--vigas-primary);
    color: white;
    padding: 0.8rem 1rem;
    border: 2px solid var(--vigas-primary);
    border-left: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

/* ===================================
   BOTÕES DA CALCULADORA
   ================================== */
.calc-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-calculate,
.btn-clear {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-calculate {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(120, 113, 108, 0.3);
}

.btn-calculate:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 113, 108, 0.4);
}

.btn-clear {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.btn-clear:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

/* ===================================
   SEÇÃO DE RESULTADOS
   ================================== */
.calc-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--vigas-border);
    height: fit-content;
}

.results-content {
    background: var(--light);
    border: 2px solid var(--vigas-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: slideDown 0.5s ease-out;
}

.result-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--vigas-primary);
}

.result-section:last-child {
    margin-bottom: 0;
}

.result-section h4 {
    color: var(--vigas-primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(120, 113, 108, 0.1);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: var(--vigas-text);
    font-size: 0.9rem;
}

.result-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vigas-primary);
    font-family: 'Courier New', monospace;
}

.result-highlight {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--vigas-momento);
    text-align: center;
    margin-top: 1rem;
}

.result-highlight.momento {
    border-color: var(--vigas-momento);
}

.result-highlight.cortante {
    border-color: var(--vigas-cortante);
}

.result-highlight.deflexao {
    border-color: var(--vigas-accent);
}

.result-main {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.result-main.momento {
    color: var(--vigas-momento);
}

.result-main.cortante {
    color: var(--vigas-cortante);
}

.result-main.deflexao {
    color: var(--vigas-accent);
}

.result-unit {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* ===================================
   DIAGRAMA VISUAL
   ================================== */
.diagram-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--vigas-border);
    margin-top: 2rem;
}

.diagram-container h3 {
    color: var(--vigas-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.diagram-placeholder {
    background: var(--vigas-bg);
    border: 2px dashed var(--vigas-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: #666;
    font-style: italic;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-canvas {
    width: 100%;
    height: 400px;
    border: 1px solid var(--vigas-border);
    border-radius: 8px;
    background: white;
}

/* ===================================
   EXEMPLOS E BOTÕES
   ================================== */
.examples-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vigas-border);
}

.examples-section h4 {
    color: var(--vigas-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.examples-buttons {
    display: grid;
    gap: 0.8rem;
}

.vigas-example-btn {
    padding: 0.6rem 1rem;
    background: var(--light);
    border: 2px solid var(--vigas-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--vigas-primary);
    font-weight: 600;
}

.vigas-example-btn:hover {
    background: var(--vigas-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.vigas-help {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    transition: all 0.3s ease;
}

.vigas-help.hidden {
    display: none;
}

/* ===================================
   CONTEÚDO EDUCACIONAL VIGAS
   ================================== */
.vigas-educational-content {
    margin-top: 3rem;
}

.vigas-content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--vigas-border);
    transition: all 0.3s ease;
}

.vigas-content-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.vigas-content-block h2 {
    color: var(--vigas-primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--vigas-secondary);
    padding-bottom: 0.5rem;
}

.vigas-content-block h3 {
    color: var(--vigas-primary);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    border-bottom: 3px solid var(--vigas-secondary);
    padding-bottom: 0.5rem;
}

.vigas-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.vigas-content-block strong {
    color: var(--vigas-primary);
}

.vigas-content-block ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.vigas-content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ===================================
   FORMULA DISPLAY VIGAS
   ================================== */
.vigas-formula-display {
    background: var(--light);
    border: 2px solid var(--vigas-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.vigas-formula-display h4 {
    color: var(--vigas-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.vigas-formula-display .formula p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--vigas-secondary);
    font-weight: 600;
    font-size: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: 6px;
    display: inline-block;
    margin: 0.3rem;
    border: 1px solid rgba(120, 113, 108, 0.2);
}

/* ===================================
   GRIDS EXEMPLOS E DICAS VIGAS
   ================================== */
.vigas-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.vigas-example-item {
    background: var(--light);
    border: 1px solid var(--vigas-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.vigas-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--vigas-shadow);
    border-color: var(--vigas-primary);
}

.vigas-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--vigas-primary);
}

.vigas-example-item h4 {
    color: var(--vigas-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.vigas-example-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

/* ===================================
   GRID DE APOIOS
   ================================== */
.vigas-apoios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.apoio-item {
    background: var(--vigas-bg);
    border: 1px solid var(--vigas-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.apoio-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--vigas-shadow);
    border-color: var(--vigas-secondary);
}

.apoio-item h4 {
    color: var(--vigas-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.apoio-item p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

/* ===================================
   DICAS E TIPS
   ================================== */
.vigas-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tip-item {
    background: var(--vigas-bg);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--vigas-accent);
    transition: all 0.3s ease;
}

.tip-item:hover {
    background: #f9fafb;
    border-left-color: var(--vigas-primary);
    transform: translateX(5px);
}

.tip-item h4 {
    color: var(--vigas-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* ===================================
   FAQ VIGAS
   ================================== */
.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--vigas-primary);
    box-shadow: 0 2px 8px var(--vigas-shadow);
}

.faq-question {
    background: var(--vigas-primary);
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: block;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--vigas-secondary);
}

.faq-question::before {
    content: "▼ ";
    font-size: 0.8rem;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::before {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #ecf0f1;
}

.faq-answer p {
    margin: 0.5rem 0;
    color: #444;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--vigas-primary);
}

/* ===================================
   REFERÊNCIAS VIGAS
   ================================== */
.referencias-container {
    margin-top: 1.5rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
}

.referencia-item {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    border-left: 4px solid var(--vigas-primary);
    font-size: 0.95rem;
    color: #444;
    transition: all 0.3s ease;
}

.referencia-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px var(--vigas-shadow);
}

.referencia-item em {
    color: var(--vigas-primary);
    font-weight: 600;
}

/* ===================================
   CREDIBILIDADE VIGAS
   ================================== */
.credibilidade-container {
    background: var(--light);
    border: 2px solid var(--vigas-primary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: var(--vigas-primary);
}

.credibilidade-title {
    color: var(--vigas-primary);
    font-size: 1.4rem;
    margin: 0;
    font-weight: bold;
}

.credibilidade-content {
    font-size: 1.1rem;
    color: var(--vigas-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--vigas-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.credibilidade-badge {
    background: var(--vigas-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.credibilidade-badge:hover {
    background: var(--vigas-secondary);
    transform: translateY(-2px);
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO
   ================================== */
.vigas-explanation {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--vigas-border);
}

.vigas-explanation h3 {
    color: var(--vigas-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--vigas-secondary);
    padding-bottom: 0.5rem;
}

.calculation-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vigas-step {
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--vigas-primary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.vigas-step:hover {
    background: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--vigas-shadow);
}

.vigas-step h4 {
    color: var(--vigas-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.vigas-step p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--vigas-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.vigas-step p:first-of-type {
    font-weight: bold;
    color: var(--vigas-primary);
    font-family: inherit;
}

.vigas-step strong {
    color: var(--vigas-primary);
    font-weight: 700;
}

/* ===================================
   DISCLAIMER DINÂMICO (VIA JS)
   ================================== */
.vigas-calculator-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    animation: slideDown 0.5s ease-out;
}

.vigas-calculator-disclaimer h4 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.vigas-calculator-disclaimer p {
    margin-bottom: 0.8rem;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.vigas-calculator-disclaimer strong {
    color: #704800;
    font-weight: 600;
}

.vigas-calculator-disclaimer small {
    color: #a0741a;
    font-style: italic;
}

/* ===================================
   AVISO LEGAL
   ================================== */
.legal-notice {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.legal-notice h3 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.legal-notice p {
    color: #664d03;
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.legal-notice strong {
    color: #495057;
    font-weight: 600;
}

/* ===================================
   ANIMAÇÕES
   ================================== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE
   ================================== */
@media (max-width: 768px) {
    .calc-container {
        gap: 1.5rem;
    }
    
    .calc-header h1 {
        font-size: 2rem;
    }
    
    .calc-header p {
        font-size: 1rem;
    }
    
    .calc-input-section,
    .calc-results {
        padding: 1.5rem;
    }
    
    .calc-buttons {
        flex-direction: column;
    }
    
    .vigas-examples-grid,
    .vigas-apoios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vigas-tips {
        grid-template-columns: 1fr;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .calc-header {
        padding: 1.5rem 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .calc-input-section,
    .calc-results,
    .diagram-container {
        padding: 1rem;
    }
    
    .input-with-unit {
        flex-direction: column;
    }
    
    .input-with-unit input {
        border-radius: 8px 8px 0 0;
        border-right: 2px solid var(--vigas-primary);
    }
    
    .input-with-unit .unit {
        border-radius: 0 0 8px 8px;
        border-left: 2px solid var(--vigas-primary);
        border-top: none;
    }
    
    .credibilidade-badges {
        gap: 0.5rem;
    }
    
    .credibilidade-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ===================================
   CARDS ESPECÍFICOS PARA ADS
   ================================== */
.calc-explanation,
.explanation {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--civil-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.8s ease;
}

.calc-explanation h3,
.explanation h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid var(--civil-light);
    padding-bottom: 0.8rem;
}

.calc-legal,
.legal-explanation {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.03) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(33, 150, 243, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.calc-legal h3,
.legal-explanation h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid rgba(33, 150, 243, 0.1);
    padding-bottom: 0.8rem;
}