*{box-sizing:border-box}
body{margin:0;font-family:Arial,sans-serif;background:#f4f7fb;color:#111827}
.app{max-width:480px;margin:0 auto;min-height:100vh;padding:18px}
.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}
.header h1{margin:0;font-size:28px}
.header p{margin:4px 0 0;color:#6b7280;font-size:14px}
.header a{color:#dc2626;text-decoration:none;font-size:14px;font-weight:bold}
.cash-card{background:#111827;color:white;border-radius:22px;padding:24px;margin-bottom:18px}
.cash-card span{display:block;font-size:14px;color:#d1d5db;margin-bottom:8px}
.cash-card strong{font-size:34px}
.big-btn{display:block;text-align:center;background:#2563eb;color:white;text-decoration:none;padding:18px;border-radius:18px;font-weight:bold;font-size:18px;margin-bottom:26px}
h3{margin:0 0 12px}
.list{display:grid;gap:10px}
.item{background:white;border-radius:16px;padding:15px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 6px 20px rgba(0,0,0,.06)}
.item strong{display:block;font-size:18px}
.item small{color:#6b7280}
.item span{font-size:13px;color:#6b7280}
.empty{background:white;border-radius:16px;padding:18px;color:#6b7280;text-align:center}
.login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:18px}
.login-card{width:100%;max-width:420px;background:white;padding:26px;border-radius:22px;box-shadow:0 12px 35px rgba(0,0,0,.08)}
.login-card h1{text-align:center;margin:0}
.login-card p{text-align:center;color:#6b7280;margin:8px 0 22px}
label{display:block;margin-bottom:7px;font-weight:bold;color:#374151}
input{width:100%;padding:15px;border:1px solid #d1d5db;border-radius:14px;font-size:16px;margin-bottom:16px}
button{width:100%;padding:15px;border:0;border-radius:14px;background:#2563eb;color:white;font-weight:bold;font-size:16px}
.alert{padding:12px;border-radius:12px;font-size:14px;margin-bottom:16px}
.alert.error{background:#fee2e2;color:#991b1b}
/* ===============================
   TRANSACTION CREATE - KAUNTER
=================================*/

.app{
    max-width:480px;
    margin:0 auto;
    padding:20px;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:15px;
    margin-bottom:25px;
}

.header h1{
    margin:0;
    font-size:24px;
}

.header p{
    margin:6px 0 0;
    color:#666;
    font-size:14px;
}

.header a{
    background:#f3f4f6;
    color:#333;
    text-decoration:none;
    padding:10px 14px;
    border-radius:10px;
    font-weight:600;
}

.form-card{
    background:#fff;
    padding:22px;
    border-radius:18px;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
}

.form-card form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-card label{
    font-size:14px;
    font-weight:700;
    color:#333;
}

.form-card input,
.form-card textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
    box-sizing:border-box;
}

.form-card input:focus,
.form-card textarea:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

.big-btn{
    width:100%;
    border:none;
    border-radius:14px;
    padding:16px;
    font-size:17px;
    font-weight:800;
    color:#fff;
    background:#16a34a;
    cursor:pointer;
}

.big-btn:hover{
    background:#15803d;
}

.alert{
    padding:14px 16px;
    border-radius:12px;
    margin-bottom:18px;
    font-size:14px;
    line-height:1.5;
}

.alert.error{
    background:#fef2f2;
    color:#991b1b;
    border:1px solid #fecaca;
}

@media(max-width:600px){
    .app{
        padding:16px;
    }

    .form-card{
        padding:18px;
    }

    .header h1{
        font-size:21px;
    }
}
/* ===============================
   KAUNTER - TRANSACTION CREATE
================================ */

body.mobile-app-body{
    margin:0;
    background:#f3f4f6;
    font-family:Arial, sans-serif;
    color:#111827;
}

.mobile-app{
    max-width:430px;
    min-height:100vh;
    margin:0 auto;
    background:#f9fafb;
    padding:18px;
    box-sizing:border-box;
}

.mobile-form-header{
    background:#111827;
    color:#fff;
    border-radius:0 0 22px 22px;
    padding:22px 18px;
    margin:-18px -18px 20px;
    display:flex;
    gap:14px;
    align-items:center;
}

.mobile-form-header a{
    color:#fff;
    text-decoration:none;
    font-size:26px;
    font-weight:700;
}

.mobile-form-header small{
    opacity:.75;
    font-size:13px;
}

.mobile-form-header h1{
    margin:4px 0 0;
    font-size:24px;
}

.mobile-error{
    background:#fee2e2;
    color:#991b1b;
    border:1px solid #fecaca;
    padding:13px 15px;
    border-radius:14px;
    margin-bottom:15px;
    font-size:14px;
}

.mobile-form-card{
    background:#fff;
    border-radius:22px;
    padding:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.mobile-form-card label{
    display:block;
    font-weight:700;
    font-size:14px;
    margin:18px 0 8px;
}

.money-display-wrap{
    background:#f9fafb;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:14px;
    text-align:center;
}

.money-display-wrap small{
    color:#6b7280;
    font-size:13px;
}

.money-display{
    width:100%;
    border:none;
    background:transparent;
    text-align:center;
    font-size:42px;
    font-weight:900;
    color:#16a34a;
    margin-top:8px;
    outline:none;
}

.money-keypad{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:10px;
    margin-top:16px;
}

.money-keypad button{
    height:62px;
    border:none;
    border-radius:18px;
    background:#e5e7eb;
    color:#111827;
    font-size:24px;
    font-weight:800;
    cursor:pointer;
}

.money-keypad button:active,
.money-shortcuts button:active,
.mobile-save-btn:active{
    transform:scale(.97);
}

.money-shortcuts{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:9px;
    margin-top:14px;
}

.money-shortcuts button{
    border:none;
    border-radius:14px;
    background:#dcfce7;
    color:#166534;
    padding:13px 8px;
    font-weight:800;
    font-size:14px;
    cursor:pointer;
}

.mobile-form-card textarea{
    width:100%;
    min-height:85px;
    border:1px solid #d1d5db;
    border-radius:16px;
    padding:14px;
    font-size:15px;
    box-sizing:border-box;
    resize:none;
    outline:none;
}

.mobile-form-card textarea:focus{
    border-color:#16a34a;
    box-shadow:0 0 0 3px rgba(22,163,74,.15);
}

.mobile-save-btn{
    width:100%;
    margin-top:20px;
    border:none;
    border-radius:18px;
    background:#16a34a;
    color:#fff;
    padding:18px;
    font-size:17px;
    font-weight:900;
    cursor:pointer;
}

.mobile-save-btn:hover{
    background:#15803d;
}

@media(max-width:480px){
    .mobile-app{
        max-width:100%;
    }

    .money-display{
        font-size:38px;
    }

    .money-keypad button{
        height:58px;
    }
}