*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{
--primary:#2563eb;
--success:#16a34a;
--muted:#64748b;
--text:#1e293b;
--bg:#f4f6f9;
}

body{
font-family:Arial, Helvetica, sans-serif;
background:var(--bg);
color:var(--text);
}

.container{
width:95%;
max-width:1400px;
margin:20px auto;
}

.header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.header h1{
font-size:32px;
font-weight:800;
}

.btn-reset{
background:#dc2626;
color:white;
text-decoration:none;
padding:10px 16px;
border-radius:10px;
}

.main-content{
display:grid;
gap:20px;
}

.card,
.box{
background:white;
border-radius:16px;
padding:20px;
box-shadow:0 3px 12px rgba(0,0,0,.08);
}

.card-label{
display:block;
font-size:13px;
color:var(--muted);
margin-bottom:10px;
}

.card h2{
font-size:20px;
font-weight:700;
}

.green-txt{
color:var(--success);
}

.box h3{
font-size:20px;
margin-bottom:15px;
}

table{
width:100%;
border-collapse:collapse;
}

th{
text-align:left;
background:#f8fafc;
padding:10px;
}

td{
padding:10px;
border-bottom:1px solid #e2e8f0;
}

.fund-name{
font-size:16px;
font-weight:700;
}

.fund-notes{
margin-top:4px;
font-size:13px;
color:var(--muted);
}

.fund-clickable{
cursor:pointer;
}

.fund-clickable:hover{
opacity:.8;
}

.badge{
display:inline-block;
padding:6px 10px;
border-radius:20px;
background:#dbeafe;
color:#1d4ed8;
font-size:12px;
font-weight:600;
}

.form-group{
margin-bottom:15px;
}

.form-group label{
display:block;
margin-bottom:6px;
font-weight:600;
}

.form-group input,
.form-group select{
width:100%;
padding:10px 12px;
border:1px solid #d1d5db;
border-radius:10px;
}

.btn-save,
.btn-submit{
width:100%;
background:var(--primary);
color:white;
border:none;
padding:14px;
border-radius:10px;
font-size:15px;
font-weight:700;
cursor:pointer;
}

.btn-save:hover,
.btn-submit:hover{
opacity:.9;
}

/* MODAL */

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100vw;
height:100vh;
background:rgba(0,0,0,.45);
z-index:99999;
}

.modal.show{
display:flex;
justify-content:center;
align-items:center;
}

.modal-content{
width:500px;
max-width:90%;
background:#fff;
border-radius:16px;
padding:25px;
box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.modal-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.close-modal{
cursor:pointer;
font-size:28px;
font-weight:700;
}
