:root {
    --primary: #0061f2;
    --secondary: #00ac69;
    --dark: #1a1f36;
    --light: #f8f9fc;
    --border: #e3e6f0;
    --text: #5a5c69;
}

body { 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    background-color: var(--light); 
    color: var(--text); 
    margin: 0; 
    line-height: 1.6;
}

.container { max-width: 1140px; margin: 0 auto; padding: 20px; }

/* Navbar */
.navbar { 
    background: #fff; 
    padding: 15px 0; 
    box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15); 
    margin-bottom: 30px;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.nav-links a { text-decoration: none; color: var(--text); margin-left: 20px; font-weight: 600; }

/* Cards */
.card { 
    background: #fff; 
    border-radius: 10px; 
    border: none; 
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1); 
    padding: 25px; 
    margin-bottom: 25px;
}

/* Forms */
input, select, textarea { 
    width: 100%; 
    padding: 12px; 
    margin: 8px 0 20px 0; 
    border: 1px solid var(--border); 
    border-radius: 5px; 
    box-sizing: border-box; 
    background: #fff;
}
button { 
    background: var(--primary); 
    color: white; 
    border: none; 
    padding: 12px 25px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-weight: 700; 
    transition: 0.3s;
}
button:hover { background: #004dc0; }

/* Dashboard Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* Stats Table */
table { width: 100%; border-collapse: collapse; margin-top: 15px; background: white; }
th { background: #f8f9fc; color: var(--dark); font-weight: 700; padding: 15px; text-align: left; border-bottom: 2px solid var(--border); }
td { padding: 15px; border-bottom: 1px solid var(--border); }

/* Badges */
.badge { padding: 5px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: white; }
.badge-success { background-color: var(--secondary); }
.badge-pending { background-color: #f6c23e; }
.badge-failed { background-color: #e74a3b; }

@media (max-width: 768px) {
    .navbar .container { flex-direction: column; }
    .nav-links { margin-top: 15px; }
    .grid { grid-template-columns: 1fr; }
}