*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bro-green:#25963a;
    --bro-green-dark:#1d7f31;
    --bro-text:#1b1b1b;
    --bro-muted:#6f7782;
    --bro-border:#d9dde3;
    --bro-bg:#f3f3f3;
    --bro-card:#ffffff;
}

html, body{
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
     -webkit-text-size-adjust: 100%;
    width:100%;
    min-height:100%;
    font-family:'Inter', sans-serif;
    background:var(--bro-bg);
    color:var(--bro-text);
}

body{
    margin:0;
}

.login-page{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 15px;
}

.login-box-wrap{
    width:100%;
    max-width:520px;
    text-align:center;
}

.portal-brand{
    margin-bottom:24px;
}

.portal-logo{
    width:300px;
    height:auto;
    object-fit:contain;
    margin-bottom:12px;
}

.portal-brand h1{
    font-size:18px;
    font-weight:900;
    color:var(--bro-green);
    line-height:1.2;
    margin-bottom:4px;
    text-transform:uppercase;
}

.portal-brand h2{
    font-size:30px;
    line-height:1;
    font-weight:900;
    color:var(--bro-green);
    margin-bottom:18px;
    font-family:'Comic Sans MS', 'Trebuchet MS', cursive, sans-serif;
}
.portal-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;

    font-size:52px;
    font-weight:900;
    color:#25963a;

    font-family:'Comic Sans MS',
    'Trebuchet MS',
    cursive;

    line-height:1;
    margin-bottom:18px;
}

.tax-icon{
    width:72px;
    height:72px;
    object-fit:contain;

    filter:drop-shadow(0 4px 8px rgba(0,0,0,.10));

    animation:floatTax 3s ease-in-out infinite;
}

    @keyframes floatTax{
    0%{transform:translateY(0px);}
    50%{transform:translateY(-6px);}
    100%{transform:translateY(0px);}
}
.portal-brand p{
    font-size:14px;
    color:var(--bro-muted);
    line-height:1.6;
}

.login-card{
    width:100%;
    max-width:400px;
    margin:0 auto;
    background:transparent;
}

.form-box{
    width:100%;
}

.google-btn{
    width:100%;
    height:50px;
    border:1px solid var(--bro-border);
    background:#fff;
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-decoration:none;
    color:#202124;
    font-size:16px;
    font-weight:700;
    margin-bottom:22px;
    transition:.25s ease;
}

.google-btn:hover{
    border-color:#bfc6ce;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
    transform:translateY(-1px);
}

.divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin:16px 0 15px;
    color:#9098a3;
    font-size:13px;
    font-weight:700;
    letter-spacing:.05em;
}

.divider::before,
.divider::after{
    content:"";
    flex:1;
    height:1px;
    background:#d9dde3;
}

.input-group{
    position:relative;
    margin-bottom:16px;
}

.input-group input{
    width:100%;
    height:50px;
    border:1px solid #cfd5dc;
    border-radius:16px;
    padding:0 18px;
    font-size:16px;
    color:#1f2937;
    background:#fff;
    outline:none;
    transition:.25s ease;
}

.input-group input:focus{
    border-color:var(--bro-green);
    box-shadow:0 0 0 4px rgba(37,150,58,.10);
}

.password-group input{
    padding-right:58px;
}

.toggle-password{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:transparent;
    cursor:pointer;
    width:36px;
    height:36px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.toggle-password:hover{
    background:rgba(0,0,0,.04);
}

.toggle-password svg{
    width:22px;
    height:22px;
    stroke:#5b6470;
}

.form-options{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:8px 0 18px;
    gap:10px;
    flex-wrap:wrap;
}

.remember-me{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:15px;
    color:#54606f;
    font-weight:500;
}

.remember-me input{
    width:17px;
    height:17px;
    accent-color:var(--bro-green);
}

.inline-link{
    color:var(--bro-green);
    text-decoration:none;
    font-size:15px;
    font-weight:700;
}

.inline-link:hover{
    text-decoration:underline;
}

.login-btn{
    width:100%;
    height:50px;
    border:none;
    border-radius:16px;
    background:linear-gradient(135deg, #2cab3d 0%, #218734 100%);
    color:#fff;
    font-size:18px;
    font-weight:800;
    cursor:pointer;
    transition:.25s ease;
    box-shadow:0 12px 28px rgba(44,171,61,.22);
}

.login-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 30px rgba(44,171,61,.28);
}

.login-btn:disabled{
    opacity:.8;
    cursor:not-allowed;
}

.bottom-links{
    margin-top:16px;
    text-align:center;
    font-size:15px;
    color:#69717d;
}

.register-link{
    color:var(--bro-green);
    font-weight:800;
    text-decoration:none;
    margin-left:4px;
}

.register-link:hover{
    text-decoration:underline;
}

.alert-error{
    width:100%;
    background:#fff1f1;
    color:#b42318;
    border:1px solid #f3b3b3;
    padding:13px 15px;
    border-radius:12px;
    margin-bottom:16px;
    font-size:14px;
    font-weight:600;
    text-align:left;
}

@media (max-width: 768px){
    .portal-brand h1{
        font-size:18px;
    }

    .portal-brand h2{
        font-size:42px;
    }

    .portal-brand p{
        font-size:14px;
    }

    .login-page{
        padding:30px 14px;
    }
}

@media (max-width: 480px){
    .portal-logo{
        width:400px;
        height:auto;
    }

    .portal-brand h1{
        font-size:16px;
    }

    .portal-brand h2{
        font-size:34px;
    }

    .input-group input,
    .google-btn,
    .login-btn{
        height:54px;
        font-size:15px;
    }

    .form-options{
        flex-direction:column;
        align-items:flex-start;
    }
}