* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    background: #0f172a;
    overflow: hidden;
}

/* Fundo animado */
.background {
    position: fixed;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1e293b, #020617);
    animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-25%, -25%); }
    100% { transform: translate(0, 0); }
}

.login-container {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 0 40px rgba(0,0,0,.6);
    text-align: center;
    animation: fadeIn .8s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-card h1 {
    color: #38bdf8;
    font-size: 2.4rem;
}

.login-card h1 span {
    color: #22c55e;
}

.login-card p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: none;
    outline: none;
    background: transparent;
    border-bottom: 2px solid #334155;
    color: #e5e7eb;
    font-size: 16px;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 12px;
    color: #64748b;
    pointer-events: none;
    transition: .3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -10px;
    font-size: 12px;
    color: #38bdf8;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #020617;
    transition: .3s;
}

button:hover {
    transform: scale(1.03);
}

.error {
    background: rgba(239, 68, 68, .15);
    color: #fca5a5;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer {
    margin-top: 20px;
    color: #64748b;
    font-size: 12px;
}

/* Mobile */
@media (max-width: 480px) {
    .login-card {
        margin: 0 15px;
        padding: 30px;
    }
}


.actions a{
margin:0 6px;
display:inline-flex;
align-items:center;
}
.actions svg{
transition:.2s;
}
.actions a:hover svg{
transform:scale(1.15);
}

.resumo-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
margin-top:15px;
}

.resumo-item{
background:#020617;
border-radius:14px;
padding:15px;
border:1px solid #1e293b;
}

.resumo-item strong{
font-size:1.1rem;
color:#38bdf8;
}

.resumo-item span{
display:block;
margin-top:5px;
font-size:1rem;
}

.resumo-item small{
color:#94a3b8;
}

.barra{
height:6px;
background:#1e293b;
border-radius:10px;
margin-top:10px;
overflow:hidden;
}

.barra-preenchida{
height:100%;
background:linear-gradient(90deg,#38bdf8,#22c55e);
border-radius:10px;
transition:.5s;
}


.cards-categorias{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-top:20px;
}

.categoria-card{
background:#020617;
border:1px solid #1e293b;
border-radius:16px;
padding:20px;
text-align:center;
transition:.3s;
}

.categoria-card:hover{
transform:translateY(-3px);
border-color:#38bdf8;
}

.categoria-card h4{
margin:0;
font-size:1.2rem;
color:#38bdf8;
}

.categoria-card .valor{
font-size:1.3rem;
margin:10px 0 5px;
font-weight:bold;
}

.categoria-card .percentual{
color:#94a3b8;
margin-bottom:10px;
}

.barra{
height:6px;
background:#1e293b;
border-radius:10px;
overflow:hidden;
}

.barra-preenchida{
height:100%;
background:linear-gradient(90deg,#38bdf8,#22c55e);
transition:.5s;
}

.btn-exportar{
display:inline-block;
margin-top:15px;
padding:12px 18px;
border-radius:12px;
background:linear-gradient(135deg,#22c55e,#16a34a);
color:#020617;
font-weight:bold;
text-decoration:none;
}
.btn-exportar:hover{
opacity:.9;
}


.export-bar{
display:flex;
justify-content:flex-end;
margin-bottom:10px;
}

.export-bar a{
font-size:1.4rem;
text-decoration:none;
padding:8px 10px;
border-radius:10px;
transition:.3s;
}

.export-bar a:hover{
background:rgba(56,189,248,.15);
}

.menu a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 14px;
    border-radius:10px;
    color:#e5e7eb;
    text-decoration:none;
    margin-bottom:8px;
    font-size:0.95rem;
}


/* Adicione ao final do seu style.css existente */

/* Cards de investimentos */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.invest-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 0 30px rgba(0,0,0,.5);
    transition: .3s;
    border: 1px solid rgba(56,189,248,.1);
}

.invest-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56,189,248,.3);
    box-shadow: 0 10px 40px rgba(0,0,0,.7);
}

.card-total {
    background: linear-gradient(135deg, rgba(56,189,248,.1), rgba(34,197,94,.1));
    border: 1px solid rgba(56,189,248,.2);
}

.card-icon {
    font-size: 2rem;
    padding: 15px;
    border-radius: 15px;
    background: rgba(56,189,248,.1);
    color: #38bdf8;
}

.card-value {
    font-size: 2.2rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Pontos de cor para categorias */
.categoria-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.categoria-dot.arca {
    background: #f59e0b;
}

.categoria-dot.edp {
    background: #8b5cf6;
}


        /* ESTILOS PARA GERENCIAMENTO */
        .cards-gerenciamento {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .lista-itens {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .item-lista {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px;
            background: rgba(2, 6, 23, 0.5);
            border-radius: 10px;
            border: 1px solid #1e293b;
            transition: .3s;
        }
        
        .item-lista:hover {
            border-color: #38bdf8;
            background: rgba(56,189,248,0.05);
        }
        
        .grupo-cor {
            width: 15px;
            height: 15px;
            border-radius: 50%;
        }
        
        .btn-excluir {
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 8px;
            padding: 6px 10px;
            cursor: pointer;
            font-size: 1rem;
            transition: .3s;
        }
        
        .btn-excluir:hover:not(:disabled) {
            background: rgba(239, 68, 68, 0.2);
            transform: scale(1.1);
        }
        
        .btn-excluir:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
