*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#eef2f7;
    color:#111827;
}

/* =========================
   USER LOGIN / REGISTER
========================= */

.login{
    min-height:100vh;
    background:radial-gradient(circle at top,#123b88,#020617 70%);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.box{
    width:430px;
    max-width:100%;
    background:#0f172a;
    color:white;
    border:2px solid #06b6d4;
    border-radius:22px;
    padding:26px;
    text-align:center;
    box-shadow:0 0 35px #0891b2;
}

.logo{
    width:120px;
    height:120px;
    margin:0 auto 15px;
    border-radius:50%;
    background:linear-gradient(135deg,#facc15,#111827);
    border:6px solid #eab308;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:900;
    text-align:center;
    line-height:1.25;
    color:white;
}

.box input{
    width:100%;
    padding:14px;
    margin:8px 0;
    border-radius:12px;
    border:0;
    background:#fffecb;
    font-size:16px;
}

.btn-main{
    width:100%;
    border:0;
    border-radius:10px;
    padding:13px;
    font-weight:900;
    cursor:pointer;
    background:linear-gradient(90deg,#06b6d4,#2563eb);
    color:white;
    font-size:16px;
}

.link{
    color:#38bdf8;
    text-decoration:none;
    display:inline-block;
    margin-top:14px;
    font-size:18px;
}

/* =========================
   COMMON BUTTONS
========================= */

button,
.btn{
    display:inline-block;
    border:0;
    border-radius:10px;
    padding:11px 15px;
    font-weight:800;
    cursor:pointer;
    text-decoration:none;
    font-size:14px;
}

.btn-green{
    background:#16a34a;
    color:white;
}

.btn-blue{
    background:#2563eb;
    color:white;
}

.btn-red{
    background:#dc2626;
    color:white;
}

.btn-gray{
    background:#64748b;
    color:white;
}

/* =========================
   USER DASHBOARD
========================= */

.topbar{
    background:#0f172a;
    color:white;
    padding:14px 16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:100;
}

.topbar b{
    font-size:18px;
}

.balance{
    background:#2563eb;
    color:white;
    padding:9px 14px;
    border-radius:999px;
    font-weight:900;
}

.wrap{
    max-width:1100px;
    margin:auto;
    padding:18px;
    padding-bottom:90px;
}

.hero{
    background:linear-gradient(135deg,#2563eb,#06b6d4);
    color:white;
    border-radius:22px;
    padding:24px;
    margin-bottom:18px;
    box-shadow:0 8px 25px #cbd5e1;
}

.hero h1{
    margin:0 0 10px;
    font-size:30px;
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:16px;
}

.card{
    background:white;
    border-radius:16px;
    padding:18px;
    box-shadow:0 8px 25px #d9e2ec;
    margin-bottom:16px;
}

.head{
    background:linear-gradient(90deg,#16a34a,#dcfce7);
    margin:-18px -18px 16px;
    padding:14px;
    border-radius:16px 16px 0 0;
    font-weight:900;
    color:#064e3b;
}

.stat{
    font-size:28px;
    font-weight:900;
    color:#16a34a;
}

/* =========================
   SERVICE CARD
========================= */

.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:14px;
}

.service{
    border:1px solid #bfdbfe;
    border-radius:15px;
    padding:16px;
    background:white;
    text-align:center;
    text-decoration:none;
    color:#111827;
    display:block;
    transition:.2s;
}

.service:hover{
    background:#eff6ff;
    transform:translateY(-2px);
}

.service i{
    font-size:34px;
    color:#2563eb;
    margin-bottom:10px;
}

.service img{
    width:42px;
    height:42px;
    object-fit:contain;
    margin-bottom:10px;
}

.service b{
    display:block;
    min-height:42px;
}

.service small{
    color:#16a34a;
    font-weight:900;
}

/* =========================
   FORM
========================= */

input,
select,
textarea{
    width:100%;
    padding:13px;
    margin:8px 0;
    border-radius:10px;
    border:1px solid #cbd5e1;
    font-size:15px;
}

textarea{
    min-height:90px;
    resize:vertical;
}

/* =========================
   TABLE
========================= */

table{
    width:100%;
    border-collapse:collapse;
    background:white;
}

th{
    background:#1d4ed8;
    color:white;
}

td,
th{
    padding:10px;
    border:1px solid #e5e7eb;
    text-align:center;
    vertical-align:middle;
    font-size:14px;
}

.notice{
    background:#eff6ff;
    border-left:5px solid #2563eb;
    padding:13px;
    border-radius:10px;
    margin-bottom:15px;
}

/* =========================
   USER BOTTOM MENU
========================= */

.bottom{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:white;
    display:flex;
    justify-content:space-around;
    box-shadow:0 -5px 20px #cbd5e1;
    z-index:999;
}

.bottom a{
    width:20%;
    text-align:center;
    padding:9px 3px;
    color:#475569;
    text-decoration:none;
    font-size:12px;
}

.bottom i{
    display:block;
    font-size:20px;
    margin-bottom:3px;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-float{
    position:fixed;
    bottom:80px;
    right:15px;
    background:#25D366;
    color:white;
    width:58px;
    height:58px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    z-index:9999;
    text-decoration:none;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}

/* =========================
   MOBILE
========================= */

@media(max-width:800px){
    .services{
        grid-template-columns:repeat(2,1fr);
    }

    .wrap{
        padding:12px;
        padding-bottom:90px;
    }

    .topbar{
        font-size:14px;
        gap:8px;
    }

    .balance{
        padding:8px 10px;
    }

    .box{
        padding:22px;
    }

    table{
        min-width:700px;
    }

    .card{
        overflow-x:auto;
    }

    .btn{
        margin:3px 0;
    }
}