/* =========================================
   LAR TELECOM – LOGIN FINTECH PREMIUM+
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f6f9fc 0%, #eef3f8 100%);
    animation: fadeBody 0.6s ease;
}

/* Fade suave na entrada */
@keyframes fadeBody {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* CARD */
.login-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 30px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.06),
        0 8px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    animation: fadeCard 0.7s ease;
}

@keyframes fadeCard {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glow sutil premium */
.login-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(22,163,74,0.08), transparent 70%);
    border-radius: 50%;
}

/* LOGO */
.login-logo {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo img {
    height: 50px;
}

/* TÍTULO */
.login-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1f2937;
}

/* FORM */
.login-form p {
    margin-bottom: 20px;
    position: relative;
}

.login-form label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    color: #6b7280;
}

/* INPUTS */
.login-form input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 14px;
    transition: all 0.25s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #16a34a;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(22,163,74,0.15);
}

/* Ícones */
.login-form p::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 38px;
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.login-form p:first-of-type::before {
    content: "👤";
    font-size: 16px;
}

.login-form p:last-of-type::before {
    content: "🔒";
    font-size: 16px;
}

/* BOTÃO */
.login-btn {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 10px 22px rgba(22,163,74,0.25);
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(22,163,74,0.35);
}

/* Loading effect */
.login-btn.loading {
    pointer-events: none;
    opacity: 0.85;
}

.login-btn.loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* FOOTER */
.login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: #9ca3af;
}

/* MOBILE EXTRA */
@media (max-width: 480px) {

    .login-card {
        padding: 32px 22px;
        border-radius: 24px;
    }

    .login-logo img {
        height: 44px;
    }
}
