body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f6fb;
    color: #1f2933;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0b63ce;
    color: #fff;
    padding: 0.75rem 1.5rem;
}

.topbar a {
    color: #fff;
    text-decoration: none;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.user-label {
    margin-right: 1rem;
}

.container {
    max-width: 960px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

h1, h2 {
    color: #102a43;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 20px rgba(15, 35, 52, 0.06);
}

.card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 35, 52, 0.10);
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #d3dce6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

button {
    background: #0b63ce;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1.4rem;
    font-size: 0.95rem;
    cursor: pointer;
}

button:hover {
    background: #094f9e;
}

.btn-outline {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
}

.alert {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fee2e2;
    color: #991b1b;
    border-radius: 8px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th,
.table td {
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    text-align: left;
    font-weight: 600;
    background: #f9fafb;
}

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: radial-gradient(circle at top, #0b63ce 0, #0b63ce 30%, #f3f6fb 30%);
}

.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 15px 40px rgba(15, 35, 52, 0.28);
    text-align: center;
}

.login-card h1 {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.subtitle {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.hint {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.receipt-body {
    background: #f9fafb;
}

.receipt {
    background: #fff;
    margin: 1.5rem auto;
    max-width: 420px;
    padding: 1.5rem 1.8rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 35, 52, 0.15);
    font-size: 0.9rem;
}
