/* Reset e definições globais */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e0f2f1 0%, #f1f8e9 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Contentor Principal */
.login-container {
    background: white;
    width: 380px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    text-align: center;
}

/* Círculo do Ícone */
.icon-circle {
    width: 70px;
    height: 70px;
    background-color: #4db6ac;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(77, 182, 172, 0.3);
}

.heart-icon {
    color: white;
    font-size: 30px;
    line-height: 70px;
}

h2 {
    color: #2d4a47;
    margin: 10px 0 5px;
}

p {
    color: #757575;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Formulário e Inputs */
.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #4db6ac;
    font-weight: bold;
    margin-bottom: 5px;
    margin-left: 5px;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #4db6ac;
    background-color: white;
    box-shadow: 0 0 8px rgba(77, 182, 172, 0.2);
}

/* Botão de Entrada */
.btn-entrar {
    width: 100%;
    padding: 14px;
    background-color: #4db6ac;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-entrar:hover {
    background-color: #3d968e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(61, 150, 142, 0.3);
}

.btn-entrar:active {
    transform: translateY(0);
}

/* Mensagem de Erro */
#erro {
    color: #e57373;
    font-size: 13px;
    margin-top: 15px;
    display: none;
    animation: shake 0.4s ease-in-out;
}

/* Rodapé */
.login-footer {
    margin-top: 30px;
    font-size: 12px;
    color: #bdbdbd;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
}

/* Animação para erro */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* =========================
   RESPONSIVIDADE
======================== */

@media(max-width:768px){
    .login-container{
        width: 90%;
        max-width: 380px;
        padding: 25px;
    }

    .icon-circle{
        width: 60px;
        height: 60px;
    }

    .heart-icon{
        font-size: 26px;
        line-height: 60px;
    }

    h2{
        font-size: 20px;
    }

    p{
        font-size: 13px;
    }

    input{
        padding: 12px;
        font-size: 15px;
    }

    .btn-entrar{
        padding: 12px;
        font-size: 15px;
    }
}

@media(max-width:480px){
    .login-container{
        width: 95%;
        padding: 20px;
        border-radius: 16px;
    }

    .icon-circle{
        width: 55px;
        height: 55px;
    }

    .heart-icon{
        font-size: 24px;
        line-height: 55px;
    }

    h2{
        font-size: 18px;
    }

    p{
        font-size: 12px;
        margin-bottom: 20px;
    }

    input{
        padding: 11px;
        font-size: 14px;
        border-radius: 10px;
    }

    .btn-entrar{
        padding: 11px;
        font-size: 14px;
        border-radius: 10px;
    }

    .login-footer{
        margin-top: 20px;
        font-size: 11px;
    }
}

@media(max-width:360px){
    .login-container{
        padding: 18px;
    }

    .icon-circle{
        width: 50px;
        height: 50px;
    }

    .heart-icon{
        font-size: 22px;
        line-height: 50px;
    }

    h2{
        font-size: 16px;
    }
}