/* ==========================================================
   ENABLEX ADMIN PORTAL
   admin.css
========================================================== */


/* ========================================
   ADMIN CONTAINER
======================================== */

.admin-container{

width:min(1400px,92%);

margin:60px auto;

}



/* ========================================
   HEADER
======================================== */

.admin-header{

margin-bottom:50px;

}



.admin-header h1{

font-size:3.5rem;

margin:20px 0;

}



.admin-header h1 span{

background:linear-gradient(
90deg,
#2EC5FF,
#6C63FF,
#18D89E
);

-webkit-background-clip:text;

color:transparent;

}



.admin-header p{

max-width:700px;

color:var(--text-light);

line-height:1.8;

font-size:1.1rem;

}



/* ========================================
   ADMIN STAT CARDS
======================================== */

.admin-stats{

display:grid;

grid-template-columns:
repeat(4,1fr);

gap:25px;

margin-bottom:50px;

}



.admin-card{

padding:30px;

border-radius:24px;

background:

rgba(255,255,255,.06);

border:

1px solid rgba(255,255,255,.12);

backdrop-filter:blur(20px);

transition:.35s;

}



.admin-card:hover{

transform:translateY(-8px);

border-color:#2EC5FF;

box-shadow:

0 20px 50px rgba(46,197,255,.15);

}



.admin-card h3{

color:var(--text-light);

font-size:1rem;

}



.admin-card strong{

display:block;

font-size:2.8rem;

margin:15px 0;

}



.admin-card p{

color:var(--text-muted);

}



/* ========================================
   ADMIN GRID
======================================== */

.admin-grid{

display:grid;

grid-template-columns:

repeat(3,1fr);

gap:30px;

}



.admin-panel{

padding:35px;

border-radius:28px;

background:

linear-gradient(

145deg,

rgba(255,255,255,.08),

rgba(255,255,255,.03)

);

border:

1px solid rgba(255,255,255,.1);

}



.admin-panel h2{

margin-bottom:25px;

font-size:1.5rem;

}



/* ========================================
   ACTION BUTTONS
======================================== */

.admin-action{

padding:18px;

margin-bottom:15px;

border-radius:16px;

background:

rgba(255,255,255,.05);

border:

1px solid rgba(255,255,255,.08);

cursor:pointer;

transition:.3s;

}



.admin-action:hover{

background:

rgba(46,197,255,.15);

transform:translateX(8px);

}



/* ========================================
   AUDIT TABLE
======================================== */

.audit-section{

margin-top:60px;

padding:35px;

border-radius:28px;

background:

rgba(255,255,255,.05);

border:

1px solid rgba(255,255,255,.1);

overflow-x:auto;

}



.audit-section h2{

margin-bottom:25px;

}



table{

width:100%;

border-collapse:collapse;

}



th{

text-align:left;

padding:18px;

color:#94A3B8;

border-bottom:

1px solid rgba(255,255,255,.1);

}



td{

padding:18px;

border-bottom:

1px solid rgba(255,255,255,.08);

}



.success{

color:#18D89E;

font-weight:700;

}



.pending{

color:#FBBF24;

font-weight:700;

}



/* ========================================
   FOOTER
======================================== */

footer{

text-align:center;

padding:40px;

color:var(--text-muted);

}





/* ========================================
   RESPONSIVE
======================================== */


@media(max-width:1100px){


.admin-stats{

grid-template-columns:

repeat(2,1fr);

}


.admin-grid{

grid-template-columns:1fr;

}


}



@media(max-width:600px){


.admin-header h1{

font-size:2.3rem;

}



.admin-stats{

grid-template-columns:1fr;

}


.admin-container{

width:94%;

}


}
/* ========================================
   ADMIN TOAST
======================================== */


.admin-toast{

position:fixed;

right:30px;

bottom:30px;

padding:18px 26px;

border-radius:18px;

background:

linear-gradient(
135deg,
#2EC5FF,
#6C63FF
);

color:white;

font-weight:600;

transform:translateY(40px);

opacity:0;

transition:.35s;

z-index:9999;

box-shadow:

0 20px 50px rgba(46,197,255,.3);

}



.admin-toast.active{

transform:translateY(0);

opacity:1;

}
