* { box-sizing: border-box; }

.login-art {
    background:
        linear-gradient(140deg, rgba(15,118,110,.96), rgba(22,32,31,.72)),
        url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.field {
    width: 100%;
    border: 1px solid rgb(226 232 240);
    border-radius: 8px;
    background: white;
    padding: .72rem .85rem;
    font-size: .95rem;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.field:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 4px rgba(15,118,110,.12);
}

.btn-primary,
.btn-secondary,
.btn-danger {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 8px;
    padding: .65rem 1rem;
    font-weight: 650;
    transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.btn-primary { background: #0f766e; color: white; }
.btn-secondary { background: #edf5f3; color: #0f766e; }
.btn-danger { background: #fff1f1; color: #b42318; }
.btn-primary:hover,
.btn-secondary:hover,
.btn-danger:hover { transform: translateY(-1px); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.icon-btn {
    display: inline-grid;
    height: 40px;
    width: 40px;
    place-items: center;
    border-radius: 8px;
    color: #334155;
    transition: background .15s ease, color .15s ease;
}

.icon-btn:hover { background: #eef2f7; color: #0f766e; }

.nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    border-radius: 8px;
    padding: .74rem .85rem;
    color: #475569;
    font-weight: 600;
}

.nav-item:hover,
.nav-item.active {
    background: #edf5f3;
    color: #0f766e;
}

.metric-card,
.panel,
.data-card {
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 8px;
    background: white;
    box-shadow: 0 10px 24px rgba(22,32,31,.06);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 8px;
    background: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

th {
    background: #f8fafc;
    color: #64748b;
    font-size: .72rem;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

th, td {
    border-bottom: 1px solid #eef2f7;
    padding: .85rem 1rem;
    vertical-align: middle;
}

tr:last-child td { border-bottom: 0; }

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .25rem .55rem;
    font-size: .75rem;
    font-weight: 700;
}

.badge-income { background: #ecfdf5; color: #047857; }
.badge-expense { background: #fff1f2; color: #be123c; }
.badge-neutral { background: #eef2ff; color: #4338ca; }

.progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #0f766e;
}
