body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0f172a;
    color: white;
}

/* Splash */
#splash {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    background: linear-gradient(135deg,#0f172a,#1e293b);
}

.hidden { display: none; }

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: #1e293b;
}

.titulo {
    text-align: center;
    margin: 1px 0;
    font-weight: 400;
    color: #c58122;
}

.resumo {
    display: flex;
    justify-content: space-around;
    margin: 15px;
    padding: 15px;
    border-radius: 15px;
    background: #1e293b;
}

.entrada { color: #22c55e; text-align: center; }
.saida { color: #ef4444; text-align: center; }
.saldo { text-align: center; }

.lista {
    margin: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.item {
    position: relative;
    background: #1e293b;
    margin-bottom: 5px;
    border-radius: 15px;
    overflow: hidden;
}



/* Botão excluir fica atrás */
.excluir {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: #ffffff;
    border: #ef4444;
    color: white;
    font-weight: bold;
    z-index: 1;
}
.valor-receita { color: #22c55e; }
.valor-despesa { color: #ef4444; }

.btn-novo{
    display:block;
    margin:30px auto 40px auto;
    background:#22c55e;
    border:none;
    padding:15px 40px;
    font-size:16px;
    border-radius:30px;
    cursor:pointer;
    transition:0.3s;
}

.btn-novo:hover{
    background:#16a34a;
}

/* Conteúdo que desliza */
.item-content {
    padding: 15px;
    transition: transform 0.3s ease;
    background: #1e293b;
    position: relative;
    z-index: 2;
}

.contador {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 10px;
}

/* Item mais limpo */
.item {
    background: #1e293b;
    margin: 10px 15px;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Lado esquerdo */
.item-esquerda {
    display: flex;
    flex-direction: column;
}

/* Lado direito (valores) */
.item-direita {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.valor-receita {
    color: #22c55e;
    font-weight: bold;
}

.valor-despesa {
    color: #ef4444;
    font-size: 14px;
}

/* Ícone excluir */
.btn-excluir {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 20px;
    cursor: pointer;
}

.btn-excluir:hover {
    transform: scale(1.2);
}

.container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
}

.titulo-pagina {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-top: 15px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: none;
    background: #1e293b;
    color: white;
    font-size: 15px;
}

input:focus {
    outline: 2px solid #22c55e;
}

h3 {
    margin-top: 25px;
    color: #22c55e;
}

.total-box {
    margin-top: 15px;
    padding: 10px;
    background: #111827;
    border-radius: 8px;
    font-weight: bold;
}

.saldo-final {
    margin-top: 20px;
    padding: 15px;
    background: #0f172a;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
}

.btn-salvar {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: #22c55e;
    color: black;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.filtros{
    padding:20px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:center;
}

.filtros input{
    padding:8px;
}


.filtros button{
    padding:10px 20px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:8px;
}

.resumoFiltro{
    text-align:center;
    margin:20px;
}

.graficos{
    width:90%;
    max-width:500px;
    margin:30px auto;
}

.areaFiltro{
    display:flex;
    justify-content:center;
    margin:15px 0 10px 0;
    borde: 1px;
    color: #eff;
}

.btnFiltro{
    background:#111827;
    color:#fff;
    padding:10px 25px;
    border:none;
    border-radius:25px;
    font-size:14px;
    cursor:pointer;
    transition:0.3s;
}

.btnFiltro:hover{
    background:#2563eb;
}

.patrocinadores{
    margin-top:50px;
    padding:40px 20px;
    text-align:center;
    background:white;
}

.patrocinadores h3{
    margin-bottom:30px;
    letter-spacing:2px;
    font-weight:600;
    color:#9ca3af;
}

.grid-patrocinadores{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap:30px;
    align-items:center;
    max-width:900px;
    margin:auto;
}

.grid-patrocinadores img{
    max-width:120px;
    filter: grayscale(100%);
    opacity:0.8;
    transition:0.3s;
}

.grid-patrocinadores img:hover{
    filter: grayscale(0%);
    opacity:1;
    transform:scale(1.05);
}