/* MASTER VARIABLES */
:root { --primary: #4F46E5; --secondary: #6366f1; --dark: #1e293b; --light: #f8fafc; --white: #ffffff; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); --border: #e2e8f0; }
body { margin: 0; font-family: 'Segoe UI', sans-serif; background: var(--light); color: var(--dark); }

/* WRAPPER & LAYOUT */
.smp-wrapper { padding: 20px; max-width: 1200px; margin: 0 auto; }
.smp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; background: white; padding: 20px; border-radius: 12px; box-shadow: var(--shadow); border-bottom: 4px solid var(--primary); }
.smp-header h2 { margin: 0; font-size: 20px; color: var(--dark); }
.smp-tabs { display: flex; gap: 10px; margin-bottom: 25px; border-bottom: 2px solid var(--border); padding-bottom: 10px; overflow-x: auto; }
.tab-link { background: var(--white); border: 1px solid var(--border); padding: 12px 25px; font-size: 14px; color: #64748b; cursor: pointer; border-radius: 8px; font-weight: 700; transition: 0.2s; white-space: nowrap; }
.tab-link.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.tab-content { display: none; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* DASHBOARD CARDS */
.modern-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { border-radius: 12px; padding: 25px; color: white; position: relative; overflow: hidden; box-shadow: var(--shadow); min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.stat-card h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }
.stat-card .count { font-size: 42px; font-weight: 800; margin-top: 10px; line-height: 1; }
.stat-card i { position: absolute; right: 15px; bottom: -10px; font-size: 80px; opacity: 0.2; transform: rotate(-15deg); }
.bg-blue { background: linear-gradient(135deg, #4F46E5, #818cf8); }
.bg-green { background: linear-gradient(135deg, #10b981, #34d399); }
.bg-orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.bg-red { background: linear-gradient(135deg, #ef4444, #f87171); }

/* STANDARD TABLES & FORMS */
.smp-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); margin-top: 10px; font-size: 14px; }
.smp-table th { background: #f8fafc; color: #475569; padding: 15px; text-align: left; border-bottom: 2px solid var(--border); }
.smp-table td { padding: 15px; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; box-sizing: border-box; font-size: 14px; margin-bottom: 10px; }
.btn-login { width: 100%; background: var(--primary); color: white; padding: 12px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.smp-success { background: #dcfce7; color: #166534; padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.smp-error { background: #fee2e2; color: #991b1b; padding: 15px; border-radius: 8px; margin-bottom: 20px; }