/* ==========================================
   1. CONFIGURAÇÕES GERAIS E FUNDO Verde
   ========================================== */
   body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #4b9e94; /* Cor verde do fundo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* ==========================================
   2. TÍTULO "SOCIEDADE KAFKA"
   ========================================== */
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 80px;
  padding: 20px;
}


/* ==========================================
   3. CAIXA AMARELA CENTRAL (CARD)
   ========================================== */
.card-container {
    background-color: #fcf6cc; /* Cor de fundo amarelada */
    width: 340px;
    padding: 30px 20px;
    border-radius: 15px;
    border: 2px solid #5A332C; /* Borda escura fina */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

/* Títulos e Textos dentro do Card */
.card-container h3 {
    color: #1F5482; /* Azul escuro */
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 25px;
}

.instruction {
    color: #5A332C; /* Marrom */
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 15px;
}

/* ==========================================
   4. BOTÕES E ELEMENTOS COMUNS
   ========================================== */
/* Botão Enviar (Laranja) */
.btn-send {
    background-color: #e69143;
    color: white;
    border: none;
    padding: 10px 35px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 30px;
}

.btn-send a {
  color: #fff;
  text-decoration: none;
}

/* Seção de Login no rodapé */
.login-text {
    color: #333;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.btn-login {
    background: transparent;
    color: #333;
    border: 1px solid #333;
    padding: 6px 20px;
    border-radius: 15px;
    font-weight: bold;
    cursor: pointer;
    font-size: 12px;
    margin-bottom: 15px;
}

.btn-login a {
  color: #5A332C;
  text-decoration: none;
}

/* ==========================================
   5. EXCLUSIVO DA TELA DE VERIFICAÇÃO (BOLINHAS)
   ========================================== */
.code-container {
    display: flex;
    justify-content: center;
    gap: 12px; /* Espaço entre os círculos */
    margin-bottom: 15px;
}

.code-input {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Faz ficar redondo */
    border: 1px solid #2b4c59;
    background-color: transparent;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #1a4a6e;
    outline: none;
    padding: 0;
    box-sizing: border-box;
}

/* Texto de reenvio */
.resend-text {
    font-size: 12px;
    color: #333;
    margin-bottom: 10px;
}

.resend-link {
    color: #1a4a6e;
    text-decoration: none;
    font-weight: bold;
}


/* ==========================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================== */

/* Dispositivos de 480px ou menos (Celulares médios/grandes) */
@media screen and (max-width: 480px) {
    body {
        padding: 10px;
    }

    img {
        height: 80px; /* Diminui a logo */
        padding: 10px;
    }

    .card-container {
        width: 100%; /* Ocupa a largura total da tela disponível */
        max-width: 320px; /* Mantém um tamanho confortável */
        padding: 25px 15px; /* Reduz o espaçamento interno */
    }

    .card-container h3 {
        font-size: 22px; /* Texto um pouco menor */
        margin-bottom: 20px;
    }
}

/* Dispositivos de 320px ou menos (Celulares muito pequenos) */
@media screen and (max-width: 320px) {
    header img {
        height: 70px;
    }

    .card-container {
        max-width: 290px; /* Ajusta o tamanho para telas mini */
        padding: 20px 10px;
    }

    /* Ajuste nos círculos do código para não espremer */
    .code-container {
        gap: 8px; /* Diminui o espaço entre as bolinhas */
    }

    .code-input {
        width: 35px; /* Diminui um pouco o tamanho de cada bolinha */
        height: 35px;
        font-size: 16px;
    }

    .btn-send {
        width: 100%; /* Botão ocupa toda a largura na tela mini */
        padding: 10px 0;
    }
}
