* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #0f172a;
    color: #f8fafc;
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 260px;
    background: #1e293b;
    border-right: 1px solid #334155;
    display: flex;
    flex-direction: column;
}

.logo-area {
    padding: 24px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #38bdf8;
    border-bottom: 1px solid #334155;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    padding: 16px;
}

.nav-links li {
    margin-bottom: 8px;
}

.nav-links a {
    display: block;
    padding: 10px 16px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: #0284c7;
    color: #ffffff;
}

/* Main Dashboard Content Area */
.main-content {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.header-bar h1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

/* 4-Column Stat Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: #1e293b;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .val {
    font-size: 28px;
    font-weight: 700;
    color: #38bdf8;
}

/* Dashboard Panels / Cards */
.card {
    background: #1e293b;
    padding: 26px;
    border-radius: 10px;
    border: 1px solid #334155;
    margin-bottom: 28px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #f1f5f9;
}

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

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 8px;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    border-color: #38bdf8;
}

textarea {
    resize: vertical;
    height: 120px;
    line-height: 1.5;
}

.btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: #0369a1;
}

.btn-green {
    background: #10b981;
}

.btn-green:hover {
    background: #059669;
}

.btn-purple {
    background: #8b5cf6;
}

.btn-purple:hover {
    background: #7c3aed;
}

/* Alert Notification Banners */
.alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 22px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.alert-success {
    background: #064e3b;
    color: #6ee7b7;
    border: 1px solid #059669;
}

.alert-error {
    background: #7f1d1d;
    color: #fca5a5;
    border: 1px solid #dc2626;
}

/* Data Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

th, td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #334155;
    font-size: 13px;
}

th {
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

td {
    color: #e2e8f0;
}

td a {
    color: #38bdf8;
    text-decoration: none;
    word-break: break-all;
}

td a:hover {
    text-decoration: underline;
}

.status-badge {
    color: #10b981;
    font-weight: 600;
    text-transform: lowercase;
}

