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

body{
background:#0f172a;
color:#fff;
}

.container{
display:flex;
min-height:100vh;
}

/* Sidebar */

.sidebar{
width:250px;
background:#111827;
padding:25px;
}

.sidebar h2{
color:#facc15;
margin-bottom:40px;
}

.sidebar ul{
list-style:none;
}

.sidebar li{
margin-bottom:15px;
}

.sidebar a{
display:block;
padding:15px;
color:#fff;
text-decoration:none;
border-radius:10px;
transition:.3s;
}

.sidebar a:hover,
.sidebar .active a{
background:#2563eb;
}

.sidebar i{
margin-right:10px;
}

/* Main */

.main{
flex:1;
padding:40px;
}

.header{
margin-bottom:30px;
}

.header h1{
font-size:32px;
margin-bottom:8px;
}

.header p{
color:#94a3b8;
}

/* Filters */

.filters{
display:flex;
gap:12px;
margin-bottom:25px;
flex-wrap:wrap;
}

.filter-btn{
background:#1e293b;
color:#fff;
border:1px solid rgba(255,255,255,.1);
padding:10px 18px;
border-radius:20px;
cursor:pointer;
font-size:14px;
transition:.2s;
}

.filter-btn:hover{
background:#273549;
}

.filter-btn.active{
background:#2563eb;
border-color:#2563eb;
}

/* Table */

.transaction-container{
background:#1e293b;
border-radius:14px;
overflow:hidden;
}

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

th{
background:#2563eb;
padding:15px;
text-align:left;
}

td{
padding:15px;
border-bottom:1px solid rgba(255,255,255,.08);
}

tr:hover{
background:#273549;
}

td.loading{
text-align:center;
color:#94a3b8;
}

td.status{
font-weight:600;
text-transform:capitalize;
}

td.completed,
td.status.completed,
.status-completed{
color:#22c55e;
}

td.pending,
td.status.pending,
.status-pending{
color:#facc15;
}

td.failed,
td.status.failed,
.status-failed{
color:#ef4444;
}

/* Responsive */

@media(max-width:900px){

.container{
flex-direction:column;
}

.sidebar{
width:100%;
}

.main{
padding:20px;
}

.header h1{
font-size:28px;
}

}
