:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #17324d;
    --muted: #6b7c93;
    --primary: #0f5ea8;
    --primary-dark: #0b4b86;
    --success: #1c8c4c;
    --border: #d8e2ee;
    --danger: #b3261e;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
}

.credit {
    color: #1c8c4c;
    font-weight: 600;
}

.debit {
    color: #b3261e;
    font-weight: 600;
}

.qr-section {
    display: flex;
    justify-content: flex-end;
}

.qr-box {
    text-align: center;
}

.qr-text {
    font-size: 11px;
    color: #777;
    margin-top: 5px;
}
a:hover {
    text-decoration: underline;
}

.amount {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.debit {
    color: #444;
}

.credit {
    color: #111;
}

..balance {
    color: #17324d;
    font-weight: 600;
}
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(20, 50, 80, 0.06);
    margin-bottom: 22px;
}
border-top: 4px solid #0f5ea8;

h1, h2, h3 {
    margin-top: 0;
}
.confidential {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}


.small {
    color: var(--muted);
    font-size: 14px;
}

.balance strong {
    font-weight: 600;
    letter-spacing: 0.3px;
}
.error {
    color: var(--danger);
    margin-bottom: 12px;
}

.success {
    color: var(--success);
    margin-bottom: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
}

button, .btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
}

button:hover, .btn:hover {
    background: var(--primary-dark);
    text-decoration: none;
}

.btn-secondary {
    background: #e7eef7;
    color: var(--text);
}

.btn-secondary:hover {
    background: #d7e4f2;
}

.btn-success {
    background: var(--success);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 430px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    background: #f8fbff;
}

.text-right {
    text-align: right;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.summary-box {
    background: #f8fbff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.summary-box strong {
    display: block;
    font-size: 24px;
    margin-top: 6px;
}

@media (max-width: 800px) {
    .form-grid,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    table {
        display: block;
        overflow-x: auto;
    }
}
.statement-wrap {
    max-width: 1050px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border: 1px solid #d9d9d9;
}

.statement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #111;
    padding-bottom: 18px;
    margin-bottom: 28px;
}

.statement-brand h1 {
    margin: 0;
    font-size: 52px;
    line-height: 1;
    font-weight: 700;
    color: #111;
}

.statement-brand p {
    margin: 8px 0 0;
    font-size: 18px;
    color: #111;
}

.statement-meta {
    text-align: right;
    font-size: 15px;
    line-height: 1.6;
    color: #111;
}

.statement-info-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 2px solid #111;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.statement-info-box {
    width: 48%;
}

.statement-info-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #111;
}

.statement-info-box p {
    margin: 4px 0;
    font-size: 16px;
    line-height: 1.45;
    color: #111;
}

.statement-balance-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 3px solid #111;
    padding-bottom: 16px;
    margin-bottom: 30px;
}

.statement-balance-box {
    width: 48%;
}

.statement-balance-box.left {
    border-right: 1px solid #999;
    padding-right: 20px;
}

.statement-balance-box.right {
    padding-left: 20px;
}

.statement-balance-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #111;
}

.statement-balance-value {
    font-size: 28px;
    font-weight: 700;
    color: #111;
}

.statement-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 34px;
}

.statement-table th {
    text-align: left;
    font-size: 14px;
    padding: 12px 10px;
    border-bottom: 3px solid #111;
    background: #f5f5f5;
    color: #111;
}

.statement-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #d9d9d9;
    font-size: 15px;
    color: #111;
}

.statement-table td:nth-child(4),
.statement-table td:nth-child(5),
.statement-table td:nth-child(6),
.balance-value,
.summary-cell strong {
    font-family: "Segoe UI", Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2px;
}

.statement-summary-title {
    font-size: 16px;
    font-weight: 700;
    border-top: 3px solid #111;
    padding-top: 14px;
    margin-bottom: 12px;
    color: #111;
}

.statement-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #999;
    border-bottom: 3px solid #111;
    margin-bottom: 28px;
}

.statement-summary-cell {
    padding: 14px 16px;
    border-right: 1px solid #ccc;
}

.statement-summary-cell:last-child {
    border-right: none;
}

.statement-summary-cell span {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #111;
}

.statement-summary-cell strong {
    font-size: 20px;
    color: #111;
}

.statement-notice {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 28px;
    color: #111;
}

.statement-footer-contact {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 2px solid #111;
    border-bottom: 1px solid #ccc;
    padding: 16px 0;
    margin-bottom: 18px;
    font-size: 14px;
    color: #111;
}

.page-footer {
    text-align: right;
    font-size: 12px;
    margin-top: 20px;
    color: #666;
}

.statement-footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #111;
}

@media (max-width: 800px) {
    .statement-header,
    .statement-info-row,
    .statement-balance-row,
    .statement-footer-contact {
        display: block;
    }

    .statement-info-box,
    .statement-balance-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .statement-balance-box.left {
        border-right: none;
        padding-right: 0;
    }

    .statement-balance-box.right {
        padding-left: 0;
    }

    .statement-summary-grid {
        grid-template-columns: 1fr;
    }
}