*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}
body{
min-height:100vh;
background:#000;
color:white;
overflow-x:hidden;
}
body::before{
content:"";
position:fixed;
width:500px;
height:500px;
background:#ff0066;
filter:blur(200px);
top:-100px;
left:-100px;
z-index:-1;
}
body::after{
content:"";
position:fixed;
width:500px;
height:500px;
background:#ffb300;
filter:blur(200px);
bottom:-150px;
right:-100px;
z-index:-1;
}
.login-container{
display:flex;
justify-content:center;
align-items:center;
height:100vh;
position:relative;
z-index:5;
}
.login-card{
width:380px;
padding:50px;
border-radius:30px;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(40px);
border:1px solid rgba(255,255,255,0.2);
box-shadow:0 20px 60px rgba(0,0,0,0.5);
text-align:center;
}
.login-card h2{
font-size:32px;
margin-bottom:10px;
}
.login-card p{
color:#ddd;
margin-bottom:30px;
}
.input-group{
margin-bottom:20px;
}
.input-group input{
width:100%;
padding:14px;
border-radius:10px;
border:none;
outline:none;
background:rgba(255,255,255,0.1);
color:white;
font-size:14px;
}
.input-group input::placeholder{
color:#ccc;
}
.login-card button{
width:100%;
padding:14px;
border:none;
border-radius:12px;
background:linear-gradient(135deg,#ff4d4d,#ff9f43);
color:white;
font-weight:600;
cursor:pointer;
box-shadow:0 0 20px rgba(255,100,100,0.6);
transition:0.3s;
}
.login-card button:hover{
transform:scale(1.05);
}
.dashboard{
display:flex;
height:100vh;
width:100%;
}
.sidebar{
width:230px;
padding:30px;
background:rgba(255,255,255,0.05);
backdrop-filter:blur(20px);
border-right:1px solid rgba(255,255,255,0.1);
}
.sidebar h2{
margin-bottom:30px;
}
.sidebar ul{
list-style:none;
}
.sidebar li{
margin:18px 0;
cursor:pointer;
color:#ccc;
transition:0.3s;
}
.sidebar li:hover{
color:white;
}
.main{
flex:1;
padding:40px;
}
.main h1{
font-size:34px;
margin-bottom:30px;
}
.cards{
display:flex;
gap:20px;
margin-bottom:30px;
}
.card{
background:rgba(255,255,255,0.08);
backdrop-filter:blur(30px);
border-radius:20px;
padding:25px;
width:220px;
border:1px solid rgba(255,255,255,0.15);
box-shadow:0 15px 40px rgba(0,0,0,0.4);
transition:0.3s;
}
.card:hover{
transform:translateY(-6px);
}
.card h3{
margin-bottom:10px;
}
.card p{
font-size:22px;
color:#ff9f43;
}
.add-btn{
width:100%;
padding:14px;
border-radius:12px;
border:none;
background:linear-gradient(135deg,#ff4d4d,#ff9f43);
color:white;
font-weight:600;
cursor:pointer;
box-shadow:0 0 20px rgba(255,100,100,0.6);
margin-top:15px;
}
.add-budget{
width:200px;
padding:10px;
margin-bottom:20px;
border:none;
border-radius:10px;
background:#38bdf8;
color:black;
cursor:pointer;
font-weight:bold;
}
.modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:none;
justify-content:center;
align-items:center;
background:rgba(0,0,0,0.6);
z-index:999;
}
.modal-content{
width:380px;
padding:40px;
border-radius:25px;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(40px);
border:1px solid rgba(255,255,255,0.2);
box-shadow:0 20px 60px rgba(0,0,0,0.6);
display:flex;
flex-direction:column;
gap:15px;
}
.modal-content input,
.modal-content select,
.modal-content textarea{
width:100%;
padding:12px;
border:none;
border-radius:10px;
background:rgba(255,255,255,0.1);
outline:none;
}
.modal-content textarea{
resize:none;
height:70px;
}
.expense-table{
width:100%;
border-collapse:collapse;
margin-top:30px;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(30px);
border-radius:15px;
overflow:hidden;
}
.expense-table th,
.expense-table td{
padding:15px;
text-align:left;
border-bottom:1px solid rgba(255,255,255,0.1);
}
.expense-table th{
background:rgba(255,255,255,0.1);
}
.budget-progress{
margin-top:30px;
width:400px;
}
.progress-bar{
width:100%;
height:12px;
background:rgba(255,255,255,0.1);
border-radius:10px;
overflow:hidden;
margin-top:10px;
}
.progress{
height:100%;
width:0%;
background:linear-gradient(90deg,#ff4d4d,#ff9f43);
transition:0.4s;
}
#progressText{
margin-top:8px;
font-size:14px;
color:#ccc;
}
.action-buttons{
display:flex;
gap:15px;
margin-top:20px;
}
.add-btn{
padding:10px 20px;
border:none;
border-radius:30px;
background:linear-gradient(135deg,#00c6ff,#0072ff);
color:white;
font-weight:600;
cursor:pointer;
box-shadow:0 0 15px rgba(0,114,255,0.6);
transition:0.3s;
}
.add-btn:hover{
transform:scale(1.08);
}
.reset-btn{
padding:10px 20px;
border:none;
border-radius:30px;
background:linear-gradient(135deg,#ff416c,#ff4b2b);
color:white;
font-weight:600;
cursor:pointer;
box-shadow:0 0 15px rgba(255,75,43,0.6);
transition:0.3s;
}
.reset-btn:hover{
transform:scale(1.08);
}
.budget-actions{
display:flex;
align-items:center;
gap:15px;
margin-top:10px;
}
.add-budget{
padding:10px 20px;
border:none;
border-radius:25px;
background:#38bdf8;
color:black;
font-weight:bold;
cursor:pointer;
box-shadow:0 0 12px rgba(56,189,248,0.6);
transition:0.3s;
}
.reset-btn{
padding:10px 20px;
border:none;
border-radius:25px;
background:linear-gradient(135deg,#ff416c,#ff4b2b);
color:white;
font-weight:600;
cursor:pointer;
box-shadow:0 0 12px rgba(255,75,43,0.6);
transition:0.3s;
}
.reset-btn:hover{
transform:scale(1.08);
}
.add-budget:hover{
transform:scale(1.08);
}
#budgetWarning{
margin-top:6px;
font-size:14px;
font-weight:600;
}
.filter-bar{
display:flex;
gap:10px;
margin-top:15px;
margin-bottom:20px;
}
.filter-bar input,
.filter-bar select{
padding:8px;
border-radius:8px;
border:none;
background:rgba(255,255,255,0.1);
}
.filter-bar button{
padding:8px 14px;
border:none;
border-radius:8px;
background:#38bdf8;
color:black;
cursor:pointer;
}
.filter-bar{
display:flex;
align-items:center;
gap:15px;
margin-top:20px;
margin-bottom:20px;
}
.search-box{
display:flex;
align-items:center;
gap:8px;
padding:8px 12px;
border-radius:12px;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,0.2);
}
.search-box input{
border:none;
outline:none;
background:transparent;
color:white;
width:180px;
}
.filter-bar select{
padding:8px 12px;
border-radius:10px;
border:none;
background:rgba(255,255,255,0.1);
}
.filter-bar button{
padding:8px 16px;
border:none;
border-radius:10px;
background:linear-gradient(135deg,#00c6ff,#0072ff);
color:white;
cursor:pointer;
font-weight:600;
transition:0.3s;
}
.filter-bar button:hover{
transform:scale(1.05);
}
.ai-insight{
margin-top:20px;
padding:15px;
border-radius:12px;
background:rgba(255,255,255,0.08);
border:1px solid rgba(255,255,255,0.15);
backdrop-filter:blur(20px);
}
.prediction-box{
margin-top:15px;
padding:15px;
border-radius:12px;
background:rgba(255,255,255,0.08);
border:1px solid rgba(255,255,255,0.15);
}
@media (max-width: 900px){
.dashboard{
flex-direction:column;
}
.sidebar{
width:100%;
display:flex;
justify-content:space-around;
align-items:center;
padding:15px;
}
.sidebar ul{
display:flex;
gap:20px;
}
.sidebar li{
margin:0;
}
.main{
padding:20px;
}
.cards{
flex-wrap:wrap;
}
.card{
width:45%;
}
.add-btn{
width:100%;
}
}
@media (max-width: 600px){
.sidebar{
flex-direction:column;
align-items:flex-start;
}
.sidebar ul{
flex-direction:column;
width:100%;
}
.cards{
flex-direction:column;
}
.card{
width:100%;
}
.main h1{
font-size:26px;
}
.add-btn{
width:100%;
}
.add-budget{
width:100%;
}
button{
width:100%;
}
.modal-content{
width:90%;
padding:20px;
}
input,
select,
textarea{
width:100%;
}
}
@media (max-width:400px){
.main{
padding:15px;
}
.card p{
font-size:18px;
}
}