/* ==========================================
   AI SALES ASSISTANT
   Mobile UI v2
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{

    --primary:#1E3A8A;
    --primary2:#2563EB;

    --bg:#F4F7FC;

    --white:#FFFFFF;

    --text:#334155;

    --muted:#64748B;

    --border:#E2E8F0;

    --radius:22px;

}

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    font-family:'Poppins',sans-serif;

}

body{

    background:var(--bg);

    color:var(--text);

}

/* ===========================
LOGIN
=========================== */

.login-bg{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    background:linear-gradient(180deg,#1E3A8A,#2563EB);

}

.login-box{

    width:100%;

    max-width:420px;

    background:#fff;

    border-radius:28px;

    padding:35px;

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.logo{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#1E3A8A,#2563EB);

    color:white;

    font-size:36px;

    margin-bottom:20px;

}

.login-box h2{

    font-weight:700;

    margin-bottom:5px;

}

.login-box p{

    color:#64748B;

    margin-bottom:30px;

}

label{

    font-size:14px;

    font-weight:500;

    margin-bottom:8px;

}

.form-control{

    height:55px;

    border-radius:14px;

    border:1px solid var(--border);

    padding-left:15px;

}

.form-control:focus{

    box-shadow:none;

    border-color:#2563EB;

}

.btn-login{

    width:100%;

    height:55px;

    border:none;

    border-radius:14px;

    background:linear-gradient(135deg,#1E3A8A,#2563EB);

    color:white;

    font-weight:600;

    margin-top:15px;

    transition:.3s;

}

.btn-login:hover{

    transform:translateY(-2px);

}

/* ===========================
HEADER
=========================== */

.app-header{

    background:linear-gradient(135deg,#1E3A8A,#2563EB);

    color:white;

    padding:25px;

    border-radius:0 0 25px 25px;

}

/* ===========================
CARD
=========================== */

.card-app{

    background:white;

    border-radius:20px;

    padding:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

    margin-bottom:18px;

}

/* ===========================
STAT CARD
=========================== */

.stat-card{

    background:white;

    border-radius:18px;

    padding:20px;

    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

    height:100%;

}

.stat-card i{

    font-size:28px;

    color:#1E3A8A;

}

.stat-card h3{

    margin:10px 0 5px;

    font-size:24px;

    font-weight:700;

}

.stat-card small{

    color:#64748B;

}

/* ===========================
BUTTON
=========================== */

.btn-primary{

    background:#1E3A8A;

    border:none;

    border-radius:14px;

}

.btn-primary:hover{

    background:#163172;

}

/* ===========================
RESULT
=========================== */

.result-box{

    background:white;

    border-radius:18px;

    padding:18px;

    margin-bottom:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

}

/* ===========================
BOTTOM NAV
=========================== */

.bottom-nav{

position:fixed;

bottom:0;

left:50%;

transform:translateX(-50%);

width:100%;

max-width:500px;

height:70px;

background:#fff;

display:flex;

align-items:center;

justify-content:space-around;

border-top:1px solid #E5E7EB;

box-shadow:0 -8px 20px rgba(0,0,0,.08);

border-radius:18px 18px 0 0;

z-index:999;

}

.bottom-nav a{

flex:1;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-decoration:none;

color:#94A3B8;

font-size:11px;

font-weight:500;

transition:.25s;

height:100%;

}

.bottom-nav a i{

font-size:23px;

margin-bottom:4px;

}

.bottom-nav a.active{

color:#2563EB;

font-weight:600;

}

.bottom-nav a.active i{

font-size:25px;

}

/* ===========================
RESPONSIVE
=========================== */

@media(min-width:992px){

.container{

    max-width:500px;

}

}

html,
body{
    min-height:100%;
    overflow-y:auto;
}

.container{

padding-bottom:95px;

}

body{

padding-bottom:95px;

}

.history-btn{
    height:40px;
    min-width:88px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    font-weight:600;
    gap:5px;
}

.history-btn{
    height:38px !important;
    min-width:90px;
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:6px;
    border-radius:8px;
    font-weight:600;
    padding:0 15px !important;
}

.history-btn i{
    margin:0;
    font-size:14px;
}