/* ===== GLOBAL ===== */

body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:#eef2f6;
color:#333;
}

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

.container{
max-width:1500px;
margin:40px auto;
padding:20px;
}

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

.admin-header{
background:#1c3f66;
color:white;
padding:18px 30px;
}

.topbar{
display:flex;
align-items:center;
justify-content:space-between;
}

.logo{
font-size:22px;
font-weight:bold;
}

.admin-user{
display:flex;
align-items:center;
gap:12px;
}

.admin-name{
font-weight:bold;
}

.logout{
background:#e74c3c;
color:white;
padding:6px 12px;
border-radius:6px;
text-decoration:none;
font-size:13px;
}

.logout:hover{
background:#c0392b;
}

/* ===== NAVIGATION ===== */

.topnav{
display:flex;
gap:18px;
margin-top:8px;
}

.topnav a{
color:white;
text-decoration:none;
font-weight:bold;
padding:6px 12px;
border-radius:6px;
}

.topnav a:hover{
background:#295a8f;
}

.topnav a.active{
background:white;
color:#1c3f66;
}

/* ===== CARDS ===== */

.card{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 6px 16px rgba(0,0,0,0.08);
margin-bottom:30px;
}

/* ===== DASHBOARD GRID ===== */

.admin-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-bottom:40px;
}

.big{
font-size:30px;
font-weight:bold;
color:#1c3f66;
margin-top:10px;
}

/* ===== TABLES ===== */

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

.admin-table th,
.admin-table td{
padding:12px 16px;
text-align:left;
}

.admin-table thead th{
background:#264a6f;
color:white;
font-weight:600;
}

.admin-table tbody tr{
border-bottom:1px solid #e5e5e5;
}

.actions{
white-space:nowrap;
}

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

.btn{
display:inline-block;
padding:6px 12px;
border-radius:6px;
font-size:13px;
text-decoration:none;
color:white;
margin-right:5px;
transition:0.2s;
}

.btn:hover{
opacity:0.85;
}

.btn.toggle{background:#3498db;}
.btn.edit{background:#f39c12;}
.btn.delete{background:#e74c3c;}
.btn.approve{background:#27ae60;}
.btn.disable{background:#e74c3c;}

/* ===== STATUS DOT ===== */

.status-dot{
display:inline-block;
width:14px;
height:14px;
border-radius:50%;
}

.status-dot.green{background:#2ecc71;}
.status-dot.yellow{background:#f1c40f;}
.status-dot.red{background:#e74c3c;}

/* ===== BANNER PREVIEW ===== */

.banner-preview{
max-height:60px;
border-radius:4px;
}

/* ===== EDIT PREVIEW ===== */

.banner-edit-preview{
max-width:468px;
margin:15px 0;
border-radius:6px;
box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* ===== LINKS ===== */

.container ul a{
color:#1c3f66;
text-decoration:none;
}

.container ul a:hover{
text-decoration:underline;
}

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

.admin-footer{
margin-top:40px;
padding:20px;
text-align:center;
background:#1c3f66;
color:white;
font-size:14px;
}

/* ADMIN TOOL ICONS */

.dash-box h3{
display:flex;
align-items:center;
gap:10px;
font-size:18px;
}

.dash-box h3 span{
font-size:26px;
}

/* TOOL HOVER */

.dash-box{
transition:all 0.25s ease;
cursor:pointer;
}

.dash-box:hover{

transform:translateY(-4px);
box-shadow:0 10px 22px rgba(0,0,0,0.15);

}

/* TOOL BUTTON */

.dash-box .btn{

margin-top:10px;

}

.success-box{
background:#e8f8ec;
border:1px solid #b7e1c1;
padding:15px;
border-radius:6px;
margin-bottom:15px;
}

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

.form-group input,
.form-group textarea{
width:100%;
padding:8px;
border:1px solid #ccc;
border-radius:4px;
}

.message-box{
background:#f9fbfd;
padding:15px;
border-radius:6px;
margin-bottom:10px;
}

.status-dot{
display:inline-block;
width:10px;
height:10px;
border-radius:50%;
vertical-align:middle;
}

.status-dot.green{
background:#2ecc71;
}

.status-dot.yellow{
background:#f1c40f;
}

.message-box{
padding:14px;
border-radius:6px;
margin-bottom:12px;
}

.user-msg{
background:#f9fbfd;
border-left:4px solid #1e73be;
}

.admin-msg{
background:#eef7ee;
border-left:4px solid #2ecc71;
}

.btn.delete{
background:#e53935;
color:white;
padding:5px 10px;
border-radius:6px;
text-decoration:none;
}

.btn.delete:hover{
background:#c62828;
}

.status-dot{
width:12px;
height:12px;
border-radius:50%;
display:inline-block;
}

.status-dot.yellow{
background:#f4c542;
}

.status-dot.blue{
background:#3b82f6;
}

.status-dot.green{
background:#28a745;
}

.dash-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

.dash-card{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 4px 14px rgba(0,0,0,0.08);
text-align:left;
}

.container h2{
margin-bottom:35px;
}

.dash-sep{
border:none;
border-top:2px solid #ddd;
margin:25px 0;
}

.admin-shortcuts{
display:flex;
gap:12px;
flex-wrap:wrap;
justify-content:flex-start;
margin-bottom:10px;
}

.admin-btn{
background:#2c5282;
color:white;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
font-weight:600;
transition:0.2s;
}

.admin-btn:hover{
background:#1a365d;
}