/* RESET */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #fef8c2;
    color: #222;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

h1 {
    font-weight: 600;
    font-size: 28px;
    color: #2e7d32;
    margin: 0;
}

.subtitulo {
    font-weight: 500;
    font-size: 14px;
    color: #ef6c00;
    margin: 0 0 25px 0;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 360px;
    max-width: 90vw;
}

.btn-laranja {
    background-color: #ef6c00;
    border: none;
    color: #000;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-laranja:hover,
.btn-laranja:focus {
    background-color: #2e7d32;
    color: #fff;
    outline: none;
}

.btn-laranja.ativo {
    background-color: #2e7d32;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.btn-laranja.ativo:hover {
    background-color: #28a745;
    color: #fff;
}

.login-title {
    display: flex;
    /* coloca ícone e texto na mesma linha */
    align-items: center;
    /* alinha verticalmente */
    color: #ef6c00;
    /* laranja */
    font-weight: 400;
    /* peso do texto */
    font-size: 16px;
    /* tamanho do texto, ajustável */
    justify-content: center;
    /* centraliza horizontalmente */
    gap: 8px;
    /* espaço entre ícone e texto */
    margin: 0 0 20px 0;
}



.form-login {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 360px;
    max-width: 90vw;
    text-align: left;
}

.form-login input {
    padding: 12px 10px;
    border-radius: 6px;
    border: 1.5px solid #ef6c00;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: #222;
    transition: border-color 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-login input::placeholder {
    color: #a1887f;
}

.form-login input:focus {
    border-color: #2e7d32;
}

.btn-login {
    background-color: #2e7d32;
    color: #fff;
    border: none;
    padding: 14px 0;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.25s ease;
    width: 360px;
    max-width: 90vw;
}

.btn-login:hover,
.btn-login:focus {
    background-color: #ef6c00;
    color: #000;
    outline: none;
}

.voltar {
    color: #2e7d32;
    font-weight: 600;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.25s ease;
    width: 360px;
    max-width: 90vw;
    text-align: left;
}

.voltar:hover {
    color: #ef6c00;
}

.erro {
    font-size: 13px;
    color: #d32f2f;
    font-weight: 600;
    width: 360px;
    max-width: 90vw;
    text-align: left;
    margin-top: 10px;
}

/* Responsivo */
@media (max-width: 420px) {

    .btn-group,
    .login-title,
    .form-login,
    .btn-login,
    .voltar,
    .erro {
        width: 100%;
        max-width: 100%;
    }
}

.login-wrapper {
    width: 400px;
    max-width: 90vw;
    min-width: 280px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.login-wrapper .logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}