* {
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: #f4f6f9;
}

/* Center container */
.auth-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.auth-box {
    background: #fff;
    width: 380px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Inputs */
.auth-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Button */
.auth-box button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.auth-box button:hover {
    background: #1e40af;
}

/* Links */
.auth-box a {
    color: #2563eb;
    text-decoration: none;
}

.auth-box a:hover {
    text-decoration: underline;
}

/* Messages */
.error {
    color: red;
    text-align: center;
    margin-top: 10px;
}

.success {
    color: green;
    text-align: center;
    margin-top: 10px;
}

/* Dashboard */
.dashboard {
    padding: 40px;
}

.dashboard h1 {
    color: #1f2937;
}

.logout-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 16px;
    background: #dc2626;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.logout-btn:hover {
    background: #991b1b;
}

/* ===== INLINE ADD TRANSACTION ===== */
.inline-txn-row td {
    background: #f8fafc;
    padding: 0;
}

.inline-txn-box {
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 12px;
    margin: 10px;
    box-shadow: 0 6px 18px rgba(15,23,42,.08);
}

.inline-txn-form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.inline-txn-form input,
.inline-txn-form select {
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.inline-txn-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.report-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

.report-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.report-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

.report-card p {
    font-size: 13px;
    color: #6b7280;
}

/* TOP BAR */
.page-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.page-title{
    font-size:20px;
    font-weight:700;
}

