* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at top, #334155, #0f172a);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
}

/* CONTAINER */
.login-wrapper {
    animation: fadeIn 1s ease;
}

/* CARD */
.login-card {
    width: 360px;
    padding: 40px 30px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: center;
    animation: slideUp 0.8s ease forwards;
}

/* LOGO */
.logo {
    width: 200px;
    margin-bottom: 10px;
}

/* INPUT */
.input-group {
    width: 100%;
    margin-bottom: 18px;
}

.input-group input {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid #64748b;
    border-radius: 8px;
    color: #fff;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #22c55e;
}

.input-group input::placeholder {
    color: #94a3b8;
}

/* BOTÃO */
button {
    width: 100%;
    height: 45px;
    margin-top: 10px;
    background: #22c55e;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #16a34a;
}

button.loading {
    background: #64748b;
    cursor: not-allowed;
}

/* LINK */
.forgot {
    display: block;
    margin-top: 18px;
    color: #cbd5f5;
    font-size: 14px;
    text-decoration: none;
}

.forgot:hover {
    text-decoration: underline;
}

/* ERRO */
.error {
    color: #f87171;
    margin-top: 10px;
}

/* ANIMAÇÕES */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}