/* =========================================================================
   ESTILOS DO HUB DE RECURSOS (Índice Geral)
   ========================================================================= */

/* =========================================================================
   AJUSTE DE FONTE GLOBAL (Aumenta o tamanho de todos os textos)
   ========================================================================= */
.cerveja-hub-container,
.cerveja-calc-container {
    font-size: 18px; /* Aumenta a base geral de texto (padrão costuma ser 14px ou 15px) */
}

/* Ajusta o tamanho do texto dentro dos inputs e selects para acompanhar o novo padrão */
.cerveja-calc-group input[type="number"],
.cerveja-calc-group input[type="text"],
.cerveja-calc-group select {
    font-size: 1.1rem !important; /* Deixa os números digitados maiores e fáceis de ler */
    padding: 12px 14px !important; /* Aumenta levemente o espaço interno do campo para acomodar a fonte maior */
}

/* Ajusta as descrições de ajuda (letras miúdas) abaixo dos campos */
.cerveja-calc-help {
    font-size: 0.9rem !important;
}

/* Ajusta os títulos principais das calculadoras */
.cerveja-calc-title {
    font-size: 1.6rem !important;
}
   
/* =========================================================================
   AJUSTE DE ESPAÇAMENTO DOS CAMPOS (Foco na Separação dos Blocos)
   ========================================================================= */

/* 1. Aumenta a distância entre os blocos (ex: separa o bloco do Volume do bloco da Densidade) */
.cerveja-calc-group {
    margin-bottom: 24px !important; /* Estava 10px. Aumentamos para dar "ar" entre os campos */
}

/* 2. Mantém o TÍTULO (label) colado no topo do input */
.cerveja-calc-group label {
    margin-bottom: 2px !important; /* Cola o título no input */
}

/* 3. Mantém a EXPLICAÇÃO (help) colada na base do input, sem esmagar o próximo campo */
.cerveja-calc-help {
    margin-top: -2px !important;   /* Mantém colado na base do input */
    margin-bottom: 0 !important;   /* Garante que não empurra nada para baixo */
    display: block;                /* Garante que fica na linha de baixo */
    line-height: 1.1 !important;   /* Altura de linha justa para não espalhar */
}

.cerveja-hub-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
}

.cerveja-hub-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 25px;
    border-bottom: 4px solid #d97706;
    padding-bottom: 10px;
}

.cerveja-hub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media(min-width: 600px) {
    .cerveja-hub-list {
        grid-template-columns: 1fr 1fr; /* Duas colunas em telas maiores */
    }
}

.cerveja-hub-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    background: #fafafa;
}

.cerveja-hub-item:hover {
    transform: translateY(-2px);
    border-color: #d97706;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.1);
}

.cerveja-hub-link {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    text-decoration: none !important;
    color: inherit !important;
}

.cerveja-hub-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    background: #fef3c7;
    padding: 10px;
    border-radius: 50%;
    line-height: 1;
}

.cerveja-hub-text strong {
    font-size: 1.1rem;
    color: #1a202c;
    display: block;
    margin-bottom: 4px;
}

.cerveja-hub-text p {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* =========================================================================
   ESTILOS DAS CALCULADORAS INDIVIDUAIS
   ========================================================================= */
.cerveja-calc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.cerveja-calc-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a202c;
    border-bottom: 3px solid #d97706;
    padding-bottom: 8px;
}

.cerveja-calc-group {
    margin-bottom: 15px;
}

.cerveja-calc-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4a5568;
    font-size: 0.9rem;
}

.cerveja-calc-group input[type="number"],
.cerveja-calc-group input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
}

.cerveja-calc-group input:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.cerveja-calc-group input[readonly] {
    background-color: #f7fafc;
    border-color: #e2e8f0;
    color: #2d3748;
    font-weight: 700;
    cursor: not-allowed;
}

.cerveja-calc-help {
    display: block;
    font-size: 0.75rem;
    color: #718096;
    margin-top: 4px;
}

.cerveja-section-break {
    border-top: 1px dashed #e2e8f0;
    margin: 25px 0 15px 0;
    padding-top: 15px;
    font-weight: 700;
    color: #d97706;
    font-size: 1.1rem;
}