* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,.25);
    animation: fadeIn .6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 26px;
    color: #111827;
}

.auth-header p {
    color: #6b7280;
    font-size: 14px;
}

/* INPUT COM ÍCONE */
.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9ca3af;
}

.input-group input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    transition: .3s;
}

.input-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

/* ERRO */
.input-group.error input {
    border-color: #ef4444;
}

.input-group.error i {
    color: #ef4444;
}

.error-msg {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

/* BOTÃO */
.auth-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #4f46e5;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: .3s;
}

.auth-form button:hover {
    background: #4338ca;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.auth-footer a {
    color: #4f46e5;
    text-decoration: none;
}

/* TRANSIÇÃO LOGIN → PADLET */
.fade-out {
    animation: fadeOut .6s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(.96);
    }
}
