body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: linear-gradient(135deg, #eef2f7, #dce3ed);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #fff;
    max-width: 420px;
    width: 100%;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

h1 {
    text-align: center;
    margin-top: 0;
}

.month {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

input {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

label {
    font-size: .85rem;
    color: #555;
}

.tb-padding {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.flex-rows {
    display: flex;
    flex-direction: column;
}

.pt-4 {
    padding-top: 1rem;
}
.inputs {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.result {
    background: #f4f6fa;
    padding: 14px;
    border-radius: 12px;
}

.reset-btn {
    display: block;
    margin: 32px auto 0 auto;
    padding: 12px 32px;
    background: #ffe5e5;
    color: #c0392b;
    border: none;
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(192,57,43,0.08);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.reset-btn:hover {
    background: #ffb3b3;
    color: #fff;
    box-shadow: 0 4px 16px rgba(192,57,43,0.15);
}

strong {
    font-size: 1.1rem;
}
.tabs.top-right {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.tabs.top-right button {
    background: #f0f0f0;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
}

.tabs.top-right button.active {
    background: #4f8cff;
    color: #fff;
    box-shadow: 0 4px 16px rgba(79,140,255,0.15);
    font-weight: 600;
}

.tabs.top-right button:hover:not(.active) {
    background: #e0eaff;
    color: #4f8cff;
}