/* assets/css/distancia-geodesica.css */
/* CSS ISOLADO - Calculadora de Distância Geodésica - TEMA GEOCIÊNCIAS */

/* ===================================
   VARIÁVEIS DE CORES GEOCIÊNCIAS
   ================================== */
:root {
    --primary: #d63031;      /* Vermelho terra */
    --primary-dark: #b71c1c; /* Vermelho terra escuro */
    --secondary: #0984e3;    /* Azul oceano */
    --secondary-dark: #0652dd; /* Azul oceano escuro */
    --accent: #fdcb6e;       /* Amarelo sol */
    --accent-dark: #f39801;  /* Amarelo sol escuro */
    --light: #ffeaa7;        /* Fundo amarelo claro */
    --gradient: linear-gradient(135deg, #d63031, #0984e3);
}

/* ===================================
   SEÇÃO DA CALCULADORA GEODÉSICA
   ================================== */
.geodesica-calculator-section {
    margin-bottom: 3rem;
}

.geodesica-header {
    text-align: center;
    margin-bottom: 2rem;
}

.geodesica-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.geodesica-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

.geodesica-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;
}

.geodesica-inputs h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   DADOS ORIGEM E DESTINO - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-dados-origem {
    background: rgba(255, 234, 167, 0.3); /* --light com transparência */
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.geodesica-dados-destino {
    background: rgba(253, 203, 110, 0.2); /* --accent com transparência */
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.geodesica-opcoes {
    background: rgba(9, 132, 227, 0.1); /* --secondary com transparência */
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.geodesica-dados-origem h4 {
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.geodesica-dados-destino h4 {
    color: var(--accent-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.geodesica-opcoes h4 {
    color: var(--secondary-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

.geodesica-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.geodesica-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.geodesica-input-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.geodesica-dados-origem .geodesica-input-group label {
    color: var(--secondary-dark);
}

.geodesica-dados-destino .geodesica-input-group label {
    color: var(--accent-dark);
}

.geodesica-opcoes .geodesica-input-group label {
    color: var(--secondary-dark);
}

.geodesica-input-group input,
.geodesica-input-group select {
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.geodesica-dados-origem .geodesica-input-group input,
.geodesica-dados-origem .geodesica-input-group select {
    border: 2px solid var(--secondary);
}

.geodesica-dados-destino .geodesica-input-group input,
.geodesica-dados-destino .geodesica-input-group select {
    border: 2px solid var(--accent);
}

.geodesica-opcoes .geodesica-input-group input,
.geodesica-opcoes .geodesica-input-group select {
    border: 2px solid var(--secondary);
}

.geodesica-input-group input:focus,
.geodesica-input-group select:focus {
    outline: none;
    transform: translateY(-2px);
}

.geodesica-dados-origem .geodesica-input-group input:focus,
.geodesica-dados-origem .geodesica-input-group select:focus {
    border-color: var(--secondary-dark);
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.2);
}

.geodesica-dados-destino .geodesica-input-group input:focus,
.geodesica-dados-destino .geodesica-input-group select:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.2);
}

.geodesica-opcoes .geodesica-input-group input:focus,
.geodesica-opcoes .geodesica-input-group select:focus {
    border-color: var(--secondary-dark);
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.2);
}

.geodesica-input-group small {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

/* ===================================
   INPUTS DE COORDENADAS - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-coord-input {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.geodesica-dados-origem .geodesica-coord-input {
    border: 2px solid var(--secondary);
}

.geodesica-dados-destino .geodesica-coord-input {
    border: 2px solid var(--accent);
}

.geodesica-coord-input:focus-within {
    transform: translateY(-2px);
}

.geodesica-dados-origem .geodesica-coord-input:focus-within {
    border-color: var(--secondary-dark);
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.2);
}

.geodesica-dados-destino .geodesica-coord-input:focus-within {
    border-color: var(--accent-dark);
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.2);
}

.geodesica-coord-input input {
    border: none;
    padding: 0.8rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
}

.geodesica-coord-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

.geodesica-unit {
    color: white;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.geodesica-dados-origem .geodesica-unit {
    background: var(--secondary);
}

.geodesica-dados-destino .geodesica-unit {
    background: var(--accent);
}

/* ===================================
   BOTÕES - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.geodesica-btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.3);
}

.geodesica-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(214, 48, 49, 0.4);
}

.geodesica-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.geodesica-btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.geodesica-btn-swap {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3);
}

.geodesica-btn-swap:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 203, 110, 0.4);
}

/* ===================================
   RESULTADO GEODÉSICA - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-resultado {
    background: var(--gradient);
    border: 2px solid var(--primary-dark);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    color: white;
    animation: slideInUp 0.5s ease;
}

.geodesica-resultado h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

.geodesica-resultado-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.geodesica-resultado-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.geodesica-resultado-item h4 {
    color: #f8f9fa;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.geodesica-resultado-distance {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.geodesica-resultado-unit {
    color: #f8c9c1;
    font-size: 1rem;
}

.geodesica-conversoes {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.geodesica-conversoes h4 {
    color: white;
    margin-bottom: 1rem;
}

.geodesica-conversao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.geodesica-conversao-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.geodesica-conversao-valor {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.3rem;
}

.geodesica-conversao-label {
    color: #f8c9c1;
    font-size: 0.85rem;
}

/* ===================================
   EXPLICAÇÃO GEODÉSICA - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 234, 167, 0.3);
    border: 2px solid var(--primary);
    border-radius: 12px;
    animation: slideInUp 0.5s ease;
}

.geodesica-explanation h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.geodesica-step {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.geodesica-step h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.geodesica-step p {
    color: #2c3e50;
    margin-bottom: 0.3rem;
    line-height: 1.5;
}

.geodesica-step code {
    background: var(--light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
}

.geodesica-formula-block {
    background: rgba(253, 203, 110, 0.2);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    color: var(--primary-dark);
    text-align: center;
}

/* ===================================
   EXEMPLOS - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-examples {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 234, 167, 0.3);
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.geodesica-examples h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.geodesica-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.geodesica-example-btn {
    background: white;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
}

.geodesica-example-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.2);
}

.geodesica-example-btn small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.8;
    font-size: 0.85rem;
}

/* ===================================
   AJUDA - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-help {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.geodesica-help h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.geodesica-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.geodesica-help-item {
    text-align: center;
    padding: 1rem;
}

.geodesica-help-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.geodesica-help-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ===================================
   CONTEÚDO EDUCACIONAL GEODÉSICA - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-educational-content {
    margin-top: 3rem;
}

.geodesica-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;
}

.geodesica-content-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
}

.geodesica-content-block p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.geodesica-formula-display {
    background: rgba(255, 234, 167, 0.5);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.geodesica-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.formula {
    text-align: center;
}

.formula p {
    background: white;
    border-radius: 6px;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ddd;
    font-family: 'Courier New', monospace;
    color: #2c3e50;
}

/* ===================================
   GRID DE EXEMPLOS NO CONTEÚDO - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-examples-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.geodesica-example-item {
    background: rgba(255, 234, 167, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.geodesica-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.geodesica-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.geodesica-example-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.geodesica-example-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   EXEMPLO PRÁTICO DETALHADO - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-example-solution {
    background: rgba(255, 234, 167, 0.5);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--primary);
}

.geodesica-example-solution h4 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.geodesica-solution-step {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.geodesica-solution-step h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.geodesica-solution-step p {
    color: #2c3e50;
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.geodesica-solution-final {
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.geodesica-solution-final h5 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.geodesica-solution-final p {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

/* ===================================
   TIPOS DE DISTÂNCIAS - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-distance-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.geodesica-distance-item {
    background: linear-gradient(135deg, rgba(255, 234, 167, 0.5) 0%, rgba(253, 203, 110, 0.3) 100%);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.geodesica-distance-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.geodesica-distance-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.geodesica-distance-item p {
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   GRID DE DICAS - CORES GEOCIÊNCIAS
   ================================== */
.geodesica-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.geodesica-tip-item {
    background: rgba(255, 234, 167, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
}

.geodesica-tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.geodesica-tip-item h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.geodesica-tip-item p {
    color: #2c3e50;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   REFERÊNCIAS E FAQ - CORES GEOCIÊNCIAS
   ================================== */
.references-container {
    background: rgba(255, 234, 167, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e0e6ed;
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.referencia-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.referencia-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.15);
    border-left-color: var(--primary);
}

.referencia-item:last-child {
    margin-bottom: 0;
}

.accuracy-note {
    background: rgba(214, 48, 49, 0.1);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.accuracy-note h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.accuracy-note p {
    color: #2c3e50;
    margin: 0;
    line-height: 1.6;
}

/* FAQ ESPECÍFICO - CORES GEOCIÊNCIAS */
.faq-container {
    margin: 1.5rem 0;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 2px solid rgba(9, 132, 227, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.1);
}

.faq-item[open] {
    border-color: var(--secondary);
}

.faq-question {
    background: rgba(9, 132, 227, 0.1);
    color: var(--secondary-dark);
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    background: rgba(9, 132, 227, 0.15);
    color: var(--secondary);
}

.faq-question::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
}

.faq-answer p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--secondary-dark);
}

/* CREDIBILIDADE - CORES GEOCIÊNCIAS */
.credibilidade-container {
    background: linear-gradient(135deg, rgba(255, 234, 167, 0.3), rgba(253, 203, 110, 0.2));
    border: 2px solid var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(9, 132, 227, 0.1);
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: var(--secondary);
}

.credibilidade-title {
    color: var(--secondary-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.credibilidade-content {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

.credibilidade-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.credibilidade-badge {
    background: white;
    color: var(--secondary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
}

.credibilidade-badge:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   RESPONSIVIDADE GEODÉSICA
   ================================== */
@media (max-width: 768px) {
    .geodesica-header h1 {
        font-size: 2rem;
    }
    
    .geodesica-container {
        padding: 1.5rem;
    }
    
    .geodesica-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .geodesica-input-group {
        min-width: auto;
    }
    
    .geodesica-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .geodesica-btn-primary,
    .geodesica-btn-secondary,
    .geodesica-btn-swap {
        width: 100%;
        max-width: 300px;
    }
    
    .geodesica-resultado-main {
        grid-template-columns: 1fr;
    }
    
    .geodesica-conversao-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .geodesica-examples-grid,
    .geodesica-help-grid {
        grid-template-columns: 1fr;
    }
    
    .geodesica-examples-grid-content,
    .geodesica-tips-grid,
    .geodesica-distance-types {
        grid-template-columns: 1fr;
    }
    
    .geodesica-content-block {
        padding: 1.5rem;
    }
    
    .geodesica-content-block h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .geodesica-container {
        padding: 1rem;
    }
    
    .geodesica-dados-origem,
    .geodesica-dados-destino,
    .geodesica-opcoes {
        padding: 1rem;
    }
    
    .geodesica-resultado,
    .geodesica-explanation {
        padding: 1.5rem;
    }
    
    .geodesica-content-block {
        padding: 1rem;
    }
    
    .geodesica-formula-display {
        padding: 1rem;
    }
    
    .geodesica-conversao-grid {
        grid-template-columns: 1fr;
    }
    
    .geodesica-resultado-distance {
        font-size: 1.5rem;
    }
}

/* ===================================
   ANIMAÇÕES
   ================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   CLASSE HIDDEN PARA CONTROLE DE EXIBIÇÃO
   ================================== */
.hidden {
    display: none !important;
}

/*Trecho responsável por apagar o ad educacional enquanto estiver no google, depois pode reinserir*/
.ads-educational-middle.enhanced-ad {
    display: none !important;
}


