:root {
    --bg-anim: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    --panel-bg: #ffffff;
    --text: #333;
    --border: #e0e0e0;
    --primary: #4f46e5;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-anim);
    color: var(--text);
    height: 100vh; /* Full Height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent Scroll */
}

.main-wrapper {
    width: 95%;
    max-width: 1200px;
    height: 90vh;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-box { text-align: center; flex: 1; } /* Center Logo */
.logo-box h1 { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.logo-box h1 span { 
    background: linear-gradient(90deg, #ff00cc, #3333ff); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.logo-box p { font-size: 12px; color: #777; letter-spacing: 1px; text-transform: uppercase; }

/* CONTROLS (Top Right) */
.controls { display: flex; gap: 10px; }

select {
    padding: 10px 15px; border-radius: 8px; border: 1px solid #ccc;
    outline: none; background: #fff; font-family: inherit; cursor: pointer;
}
.refresh-btn {
    padding: 10px 20px; background: #333; color: white; border: none;
    border-radius: 8px; cursor: pointer; font-weight: 600;
}
.refresh-btn:hover { background: #000; }

/* DASHBOARD GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 Columns */
    gap: 20px;
    flex: 1; /* Takes remaining height */
    overflow: hidden;
}

.panel {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-head {
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    color: white; padding: 10px; border-radius: 8px; margin-bottom: 5px;
    display: flex; align-items: center; gap: 8px;
}
.blue { background: linear-gradient(135deg, #667eea, #764ba2); }
.orange { background: linear-gradient(135deg, #fcb045, #fd1d1d); }
.green { background: linear-gradient(135deg, #11998e, #38ef7d); }

/* Fields */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.field label { font-size: 11px; color: #999; font-weight: 600; display: block; margin-bottom: 4px; }

.inp-grp {
    display: flex; align-items: center; background: #f9f9f9;
    border: 1px solid #eee; border-radius: 6px; padding: 0 10px;
}
.inp-grp:hover { border-color: #ddd; }

.inp-grp input {
    width: 100%; padding: 10px 0; border: none; background: transparent;
    font-size: 14px; color: #333; outline: none; font-family: 'Outfit', sans-serif;
}
.inp-grp i { color: #ccc; cursor: pointer; transition: 0.2s; }
.inp-grp i:hover { color: var(--primary); }

.mono { font-family: 'Courier New', monospace; font-weight: 600; letter-spacing: -0.5px; }
.bold { font-weight: 700; letter-spacing: 1px; }
.small { font-size: 12px; }

/* FOOTER */
footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.credits strong { color: #333; }
.stats span { margin-left: 15px; background: #f0f0f0; padding: 5px 10px; border-radius: 5px; }

/* Responsive for Mobile (Scroll wapis aayega mobile pe) */
@media (max-width: 900px) {
    body { height: auto; overflow: auto; padding: 20px 0; }
    .main-wrapper { height: auto; }
    .dashboard-grid { grid-template-columns: 1fr; }
    header { flex-direction: column; gap: 15px; }
    footer { flex-direction: column; gap: 10px; text-align: center; }
}