﻿:root { --bg: rgb(2, 6, 23); --panel: rgb(15, 23, 42); --purple: rgb(124, 58, 237); --magenta: rgb(236, 72, 153); --green: rgb(34, 197, 94); --red: rgb(244, 63, 94); --blue: rgb(37, 99, 235); --gold: rgb(245, 158, 11); --text: rgb(248, 250, 252); --muted: rgb(148, 163, 184); --line: rgba(148, 163, 184, .18); --shadow: 0 24px 80px rgba(0, 0, 0, .35); }
* { box-sizing: border-box; } html { color-scheme: dark; } body { margin: 0; min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: radial-gradient(circle at top left, rgba(124, 58, 237, .28), transparent 34rem), radial-gradient(circle at top right, rgba(37, 99, 235, .18), transparent 28rem), var(--bg); color: var(--text); letter-spacing: 0; } a { color: inherit; text-decoration: none; } button, input, select { font: inherit; }
.app-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; } .sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px; background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(2, 6, 23, .94)); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 26px; }
.brand { display: flex; align-items: center; gap: 12px; } 
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--purple), var(--magenta)); box-shadow: 0 0 30px rgba(124, 58, 237, .45); font-weight: 900; font-size: 1.4rem; } .brand strong, .brand small { display: block; } .brand small { color: var(--muted); margin-top: 2px; }
.nav-list { display: grid; gap: 10px; } 
.nav-link, .mobile-nav a { color: var(--muted); border: 1px solid transparent; } 
.nav-link { padding: 13px 14px; border-radius: 14px; } 
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(124, 58, 237, .14); border-color: rgba(124, 58, 237, .3); }
.premium-badge { margin-top: auto; padding: 16px; border: 1px solid rgba(245, 158, 11, .25); border-radius: 18px; background: linear-gradient(135deg, rgba(245, 158, 11, .14), rgba(124, 58, 237, .12)); } .premium-badge span, .premium-badge strong { display: block; } .premium-badge span { color: var(--gold); font-size: .78rem; text-transform: uppercase; }
.page-content { padding: 30px; padding-bottom: 96px; min-width: 0; } 
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; } 
h1, h2, p { margin: 0; } h1 { font-size: clamp(2rem, 4vw, 3.3rem); } h2 { font-size: 1.05rem; } 
.eyebrow { color: var(--muted); font-size: .78rem; text-transform: uppercase; font-weight: 800; }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; } 
.search-input, label input, select { min-height: 44px; border: 1px solid var(--line); border-radius: 13px; background: rgba(15, 23, 42, .76); color: var(--text); padding: 0 14px; outline: none; } 
.search-input { width: min(340px, 42vw); } 
.search-input:focus, label input:focus, select:focus { border-color: rgba(124, 58, 237, .7); box-shadow: 0 0 0 4px rgba(124, 58, 237, .15); }
.primary-button, .ghost-button { min-height: 44px; border: 0; border-radius: 13px; padding: 0 16px; color: var(--text); cursor: pointer; } 
.primary-button { background: linear-gradient(135deg, var(--purple), var(--magenta)); font-weight: 800; box-shadow: 0 14px 32px rgba(124, 58, 237, .28); } 
.ghost-button { display: inline-grid; place-items: center; background: rgba(15, 23, 42, .78); border: 1px solid var(--line); }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; } 
.summary-card, .panel { background: linear-gradient(180deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .7)); border: 1px solid var(--line); box-shadow: var(--shadow); } 
.summary-card { min-height: 150px; border-radius: 22px; padding: 20px; position: relative; overflow: hidden; } 
.summary-card::after { content: ""; position: absolute; inset: auto -32px -48px auto; width: 120px; height: 120px; border-radius: 999px; opacity: .28; filter: blur(4px); } 
.summary-card span, .summary-card small { color: var(--muted); } 
.summary-card strong { display: block; margin: 16px 0 8px; font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1; overflow-wrap: anywhere; } 
.balance-card::after { background: var(--blue); } 
.income-card::after { background: var(--green); } 
.expense-card::after { background: var(--red); } 
.goal-card::after { background: var(--gold); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 16px; margin-bottom: 16px; } 
.lower-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); } 
.panel { border-radius: 22px; padding: 20px; min-width: 0; } 
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; margin-left: auto; margin-right: auto; } 
.chart-panel { min-height: 380px; } 
.chart-panel canvas { width: 100%; max-height: 320px; } 
.text-link { color: rgb(191, 219, 254); font-weight: 800; font-size: .92rem; font-style:italic; }
.transaction-list, .goal-list, .data-table { display: grid; gap: 10px; } 
.transaction-item, .goal-item, .table-row { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(2, 6, 23, .36); border: 1px solid var(--line); } .transaction-item { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .transaction-item strong, .table-row strong { display: block; } .transaction-item small, .table-row small, .goal-item small { color: var(--muted); } .amount-income { color: var(--green); font-weight: 900; } .amount-expense { color: var(--red); font-weight: 900; }
.progress-track { height: 10px; border-radius: 999px; background: rgba(148, 163, 184, .16); overflow: hidden; } 
.progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--green), var(--gold)); }
.editor-grid { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 16px; align-items: start; } 
.form-panel { display: grid; gap: 14px; } 
.form-panel label { display: grid; gap: 8px; color: var(--muted); font-weight: 700; } .form-panel label input { width: 100%; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 15px; background: rgba(2, 6, 23, .42); border: 1px solid var(--line); } 
.segmented-control input { position: absolute; opacity: 0; } 
.segmented-control span { display: grid; place-items: center; min-height: 38px; border-radius: 11px; color: var(--muted); font-weight: 800; cursor: pointer; } 
.segmented-control input:checked + span { color: var(--text); background: linear-gradient(135deg, rgba(124, 58, 237, .8), rgba(236, 72, 153, .72)); }
.table-row { grid-template-columns: 1.1fr .8fr .7fr auto; align-items: center; } 
.row-actions { display: flex; gap: 8px; } 
.icon-button { border: 1px solid var(--line); background: rgba(15, 23, 42, .8); color: var(--text); border-radius: 10px; min-height: 36px; padding: 0 10px; cursor: pointer; } 
.empty-state { color: var(--muted); padding: 18px; border: 1px dashed var(--line); border-radius: 16px; text-align: center; }
.mobile-nav { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 20px; background: rgba(15, 23, 42, .92); backdrop-filter: blur(16px); box-shadow: var(--shadow); } 
.mobile-nav a { display: grid; place-items: center; min-height: 44px; border-radius: 14px; font-size: .78rem; font-weight: 800; } 
.mobile-nav a.active { color: var(--text); background: linear-gradient(135deg, rgba(124, 58, 237, .72), rgba(37, 99, 235, .68)); } 
.redirect-page { display: grid; place-items: center; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); align-items: center; gap: 32px; width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0; }
.login-hero { display: grid; gap: 28px; }
.login-brand { width: max-content; }
.login-copy { display: grid; gap: 14px; max-width: 620px; }
.login-copy h1 { max-width: 720px; }
.login-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 560px; }
.login-badge { max-width: 340px; margin-top: 10px; }
.login-panel { padding: 26px; }
.login-form { padding: 0; background: transparent; border: 0; box-shadow: none; }
.login-options { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.remember-option { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; }
.remember-option input { width: 18px; height: 18px; accent-color: var(--purple); }
.login-footer { margin-top: 18px; color: var(--muted); text-align: center; }

/*Cores dos quadros*/
.balance-card {background-color: royalblue;}
.income-card {background-color: aqua;}
.expense-card {background-color: red;}
.goal-card {background-color: yellow;}

.log-in{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 10px;
}

.log-in > h2{
    font-size: 30px;
    
}
.log-in > p{
    margin-top: auto;
    margin-bottom: 4px;
    
}