/* assets/css/teste-t.css */
/* CSS ISOLADO - Apenas para Calculadora de Teste t de Student */
/* PADRÃO ESTATÍSTICA - CORES CORRETAS */

/* ===================================
   CORES ESTATÍSTICA - TESTE T
   ================================== */
:root {
    /* Cores Estatística - Padrão correto */
    --primary: #ff6b6b;          /* Vermelho dados */
    --secondary: #4ecdc4;        /* Turquesa análise */
    --accent: #ffe66d;           /* Amarelo insights */
    --light: #fff5f5;            /* Fundo rosa claro */
    --gradient: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    
    /* Cores específicas teste t */
    --estatistica-primary: #ff6b6b;
    --estatistica-secondary: #4ecdc4;
    --estatistica-accent: #ffe66d;
    --estatistica-light: #fff5f5;
    --estatistica-dark: #c53030;
    --estatistica-shadow: rgba(255, 107, 107, 0.1);
}

/* ===================================
   SEÇÃO DA CALCULADORA TESTE T
   ================================== */
.teste-t-calculator-section {
    margin-bottom: 3rem;
}

.teste-t-header {
    text-align: center;
    margin-bottom: 2rem;
}

.teste-t-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px var(--estatistica-shadow);
}

.teste-t-header p {
    color: var(--secondary);
    font-size: 1.2rem;
    margin: 0;
}

.teste-t-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e6ed;
}

/* ===================================
   SELEÇÃO TIPO DE TESTE
   ================================== */
.teste-t-tipo-section {
    margin-bottom: 2rem;
}

.teste-t-tipo-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.teste-t-tipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.teste-t-tipo-option {
    position: relative;
}

.teste-t-tipo-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.teste-t-tipo-option label {
    display: block;
    background: white;
    border: 2px solid var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.teste-t-tipo-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--light), rgba(255, 107, 107, 0.1));
    border-color: var(--secondary);
    box-shadow: 0 4px 15px var(--estatistica-shadow);
}

.teste-t-tipo-option label:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--estatistica-shadow);
}

.teste-t-tipo-option h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.teste-t-tipo-option p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===================================
   INPUTS TESTE T
   ================================== */
.teste-t-input-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.teste-t-dados-grupo {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.teste-t-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.teste-t-input-group {
    display: flex;
    flex-direction: column;
}

.teste-t-input-group label {
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.teste-t-input-group input,
.teste-t-input-group select {
    padding: 0.8rem;
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.teste-t-input-group input:focus,
.teste-t-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.teste-t-input-hint {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-top: 0.3rem;
    font-style: italic;
}

/* Dados para duas amostras */
.teste-t-amostras-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.teste-t-amostra-grupo {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 107, 0.2);
}

.teste-t-amostra-grupo h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

/* Configurações do teste */
.teste-t-config-section {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--secondary);
    margin-bottom: 2rem;
}

.teste-t-config-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.teste-t-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* ===================================
   BOTÕES TESTE T
   ================================== */
.teste-t-button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.teste-t-btn-calculate {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--estatistica-shadow);
}

.teste-t-btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, var(--estatistica-dark), var(--secondary));
}

.teste-t-btn-clear {
    background: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.teste-t-btn-clear:hover {
    background: #e0e0e0;
    border-color: #bbb;
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO TESTE T
   ================================== */
.teste-t-resultado {
    background: linear-gradient(135deg, var(--light), rgba(78, 205, 196, 0.1));
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.teste-t-resultado h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.teste-t-resultado-principais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.teste-t-resultado-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    transition: all 0.3s ease;
}

.teste-t-resultado-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--estatistica-shadow);
}

.teste-t-resultado-item.principal {
    background: var(--gradient);
    color: white;
    border: none;
}

.teste-t-resultado-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.teste-t-resultado-value {
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-align: center;
}

.teste-t-resultado-item:not(.principal) .teste-t-resultado-label {
    color: var(--primary);
}

.teste-t-resultado-item:not(.principal) .teste-t-resultado-value {
    color: var(--secondary);
}

/* Conclusão do Teste */
.teste-t-conclusao {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.teste-t-conclusao h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.teste-t-conclusao-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.teste-t-conclusao-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.teste-t-conclusao-label {
    font-weight: 600;
    color: var(--primary);
}

.teste-t-conclusao-value {
    font-weight: bold;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
    font-size: 1rem !important;
}

/* Estados de decisão */
.teste-t-conclusao-item.rejeita {
    background: #ffebee;
    border-color: #f44336;
}

.teste-t-conclusao-item.rejeita .teste-t-conclusao-value {
    color: #d32f2f;
}

.teste-t-conclusao-item.nao-rejeita {
    background: #e8f5e8;
    border-color: #4caf50;
}

.teste-t-conclusao-item.nao-rejeita .teste-t-conclusao-value {
    color: #2e7d32;
}

/* ===================================
   EXPLICAÇÃO TESTE T
   ================================== */
.teste-t-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.teste-t-explanation h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.teste-t-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}

.teste-t-step h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.teste-t-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

/* ===================================
   EXEMPLOS TESTE T
   ================================== */
.teste-t-examples-section {
    margin-top: 3rem;
}

.teste-t-examples-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.teste-t-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.teste-t-example-card {
    background: white;
    border: 2px solid rgba(255, 107, 107, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.teste-t-example-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 8px 25px var(--estatistica-shadow);
    background: linear-gradient(135deg, var(--light), #ffffff);
}

.teste-t-example-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.teste-t-example-card p {
    margin: 0.5rem 0;
    color: var(--secondary);
    font-size: 0.95rem;
}

/* ===================================
   AJUDA TESTE T
   ================================== */
.teste-t-help-section {
    margin-top: 2rem;
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.teste-t-help-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.teste-t-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.teste-t-help-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.teste-t-help-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.teste-t-help-item p {
    color: var(--secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===================================
   CONTEÚDO EDUCACIONAL TESTE T
   ================================== */
.teste-t-educational-content {
    margin-top: 3rem;
}

.teste-t-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 #e0e6ed;
    border-left: 4px solid var(--primary);
}

.teste-t-content-block h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 0.5rem;
    font-size: 1.8rem;
}

.teste-t-content-block h3 {
    color: var(--secondary);
    margin: 1.5rem 0 1rem 0;
}

.teste-t-content-block p {
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

/* Características */
.teste-t-caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.teste-t-caracteristica-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.teste-t-caracteristica-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.teste-t-caracteristica-item p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Aplicações */
.teste-t-aplicacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.teste-t-aplicacao-item {
    background: linear-gradient(135deg, var(--light), #ffffff);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 107, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.teste-t-aplicacao-item:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    box-shadow: 0 6px 20px var(--estatistica-shadow);
}

.teste-t-aplicacao-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.teste-t-aplicacao-item p {
    color: var(--secondary);
    margin: 0;
}

/* Exemplo Detalhado */
.teste-t-exemplo-detalhado {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--secondary);
    margin-top: 1rem;
}

.teste-t-exemplo-detalhado h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
}

.teste-t-exemplo-detalhado ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.teste-t-exemplo-detalhado li {
    color: #444;
    margin: 0.5rem 0;
}

.teste-t-formula {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--secondary);
    text-align: center;
    margin: 1rem 0;
}

.teste-t-formula p {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--primary);
}

.teste-t-steps {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    margin: 1rem 0;
}

.teste-t-steps p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

.teste-t-resultado-exemplo {
    background: var(--gradient);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.teste-t-resultado-exemplo p {
    margin: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Fórmulas */
.teste-t-formulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.teste-t-formula-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 107, 0.2);
}

.teste-t-formula-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.teste-t-formula-box {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    text-align: center;
}

.teste-t-formula-box p:first-child {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.teste-t-formula-box p:last-child {
    color: var(--secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* ===================================
   FAQ TESTE T DE STUDENT
   ================================== */
.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(--primary);
    box-shadow: 0 2px 8px var(--estatistica-shadow);
}

.faq-question {
    background: var(--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(--estatistica-dark);
}

.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(--primary);
}

/* ===================================
   REFERÊNCIAS TESTE T
   MANTENDO CLASSES ORIGINAIS FUNCIONAIS
   ================================== */
.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(--primary);
    font-size: 0.95rem;
    color: #444;
    transition: all 0.3s ease;
}

.referencia-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px var(--estatistica-shadow);
}

.referencia-item em {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   CREDIBILIDADE TESTE T
   MANTENDO ESTRUTURA ORIGINAL FUNCIONAL
   ================================== */
.credibilidade-container {
    background: var(--light);
    border: 2px solid var(--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(--primary);
}

.credibilidade-title {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 0;
    font-weight: bold;
}

.credibilidade-content {
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.credibilidade-badge {
    background: var(--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(--secondary);
    transform: translateY(-2px);
}

.credibilidade-equipe {
    font-size: 0.9rem;
    color: var(--secondary);
    font-style: italic;
    margin-top: 1rem;
}

/* ===================================
   ANIMAÇÕES TESTE T
   ================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE TESTE T
   ================================== */
@media (max-width: 1024px) {
    .teste-t-tipo-grid {
        grid-template-columns: 1fr;
    }
    
    .teste-t-amostras-container {
        grid-template-columns: 1fr;
    }
    
    .teste-t-resultado-principais {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .teste-t-header h1 {
        font-size: 2rem;
    }
    
    .teste-t-container {
        padding: 1rem;
    }
    
    .teste-t-input-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .teste-t-config-grid {
        grid-template-columns: 1fr;
    }
    
    .teste-t-button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .teste-t-btn-calculate,
    .teste-t-btn-clear {
        width: 100%;
        max-width: 300px;
    }
    
    .teste-t-examples-grid {
        grid-template-columns: 1fr;
    }
    
    .teste-t-help-grid {
        grid-template-columns: 1fr;
    }
    
    .teste-t-caracteristicas-grid,
    .teste-t-aplicacoes-grid,
    .teste-t-formulas-grid {
        grid-template-columns: 1fr;
    }
    
    .teste-t-conclusao-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .teste-t-header h1 {
        font-size: 1.8rem;
    }
    
    .teste-t-content-block {
        padding: 1rem;
    }
    
    .teste-t-resultado {
        padding: 1rem;
    }
    
    .teste-t-explanation {
        padding: 1rem;
    }
    
    .credibilidade-badges {
        gap: 0.5rem;
    }
    
    .credibilidade-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}