:root {
    --primary: #1a73e8;
    --dark-blue: #1557b0;
    --success: #1e8e3e;
    --danger: #d93025;
    --bg-light: #f8f9fa;
    --text-main: #3c4043;
    --card-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    margin: 0; padding: 0;
}

/* Navbar Responsive */
.navbar {
    background: #fff; display: flex; justify-content: space-around;
    padding: 10px; position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow-x: auto;
}
.nav-btn {
    background: none; border: none; font-size: 13px; font-weight: 600;
    color: #5f6368; cursor: pointer; padding: 8px 12px; white-space: nowrap;
}
.nav-btn.active { color: var(--primary); border-bottom: 2px solid var(--primary); }

.container { max-width: 600px; margin: 15px auto; padding: 0 10px; box-sizing: border-box; }

/* Stats Grid - Fixed for Mobile */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 15px; }
.stat-box { padding: 12px; border-radius: 12px; color: white; box-shadow: var(--card-shadow); }
.stat-box p { margin: 0; font-size: 10px; text-transform: uppercase; opacity: 0.9; }
.stat-box h2 { margin: 5px 0 0 0; font-size: 18px; font-weight: 700; }

.col-blue { background: #1a73e8; }
.col-orange { background: #f39c12; }
.col-green { background: #1e8e3e; }
.col-red { background: #d93025; }

.card {
    background: #fff; border-radius: 12px; padding: 15px;
    margin-bottom: 15px; box-shadow: var(--card-shadow); border: 1px solid #eee;
}

.info-badge {
    background: #e8f0fe; padding: 12px; border-radius: 8px;
    font-size: 12px; color: #1967d2; margin-bottom: 15px;
    border-left: 4px solid var(--primary);
}

.form-group { margin-bottom: 12px; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 5px; }
input, select { width: 100%; padding: 10px; border: 1px solid #dadce0; border-radius: 6px; font-size: 14px; box-sizing: border-box; }

.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; }
.q-btn { padding: 10px; border-radius: 6px; border: 1px solid #ddd; font-weight: 700; cursor: pointer; text-align: center; font-size: 13px; }
.q-btn-in.active { background: var(--success); color: white; border-color: var(--success); }
.q-btn-abs.active { background: var(--danger); color: white; border-color: var(--danger); }

.btn-main {
    width: 100%; padding: 12px; background: var(--primary);
    color: white; border: none; border-radius: 6px;
    font-size: 15px; font-weight: 700; cursor: pointer;
}

/* Table Responsive */
.table-responsive { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 300px; }
th { text-align: left; font-size: 11px; color: #70757a; padding: 10px; border-bottom: 1px solid #f1f3f4; }
td { padding: 10px; border-bottom: 1px solid #f1f3f4; font-size: 13px; }

/* Footer Highlighted */
.footer { text-align: center; margin-top: 30px; padding: 30px 10px; border-top: 1px solid #e0e0e0; }
.footer-content { display: inline-block; padding: 10px 20px; border-radius: 30px; background: #fff; border: 1px solid #eee; box-shadow: 0 2px 5px rgba(0,0,0,0.03); transition: 0.3s; }
.footer-content:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.footer p { margin: 0; font-size: 14px; font-weight: 700; color: #3c4043; }
.footer a { color: var(--primary); text-decoration: none; }
.footer small { display: block; margin-top: 5px; letter-spacing: 2px; text-transform: uppercase; font-size: 10px; color: #70757a; font-weight: 600; }

.fine-badge { padding: 8px; background: #fff3e0; border-radius: 6px; margin-bottom: 10px; text-align: center; color: #e65100; font-weight: bold; font-size: 13px; display: none; }
.msg-text { text-align: center; margin-top: 8px; font-weight: 600; font-size: 13px; }


body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-touch-callout: none;
    pointer-events: none;
}
