* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fb;
    padding: 16px;
    color: #1e293b;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h1, h2 {
    font-weight: 600;
    margin-bottom: 16px;
    color: #0f172a;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
    color: #334155;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}

button, .btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
    display: inline-block;
}

button:hover, .btn:hover {
    background: #2563eb;
}

.btn-secondary {
    background: #64748b;
}

.btn-secondary:hover {
    background: #475569;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid #e2e8f0;
}

th {
    font-weight: 600;
    color: #475569;
}

.menu {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.menu a {
    flex: 1;
    text-align: center;
    background: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.2s;
}

.menu a.active {
    background: #3b82f6;
    color: white;
}

.menu a:hover {
    background: #e2e8f0;
}

.recent-list {
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.recent-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.recent-date {
    color: #64748b;
}

.recent-amount {
    font-weight: 600;
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }
    .card {
        padding: 16px;
    }
}