/* Modern Full-Screen SaaS Sidebar Layout */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top right, #1e3a8a 0%, #0f172a 100%);
    color: #f8fafc;
    min-height: 100vh;
    display: flex; /* Arranges sidebar and content side-by-side */
}

/* Fixed Left Sidebar Menu */
.sidebar {
    width: 260px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    box-sizing: border-box;
}

.logo-section {
    font-size: 22px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-links li a:hover, .nav-links li.active a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-footer {
    margin-top: auto;
}

/* Right-Side Main Content Window */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Top Stats Banner Bar */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-nav h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* Wide Dashboard Grid Layout */
main {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Wide Content Feature Panels */
.panel-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.panel-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

/* Responsive Table Styling */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    text-align: left;
}

.data-table th {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.data-table td {
    padding: 16px;
    font-size: 14px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.status-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Action Inputs & Buttons */
.input-field {
    width: 100%;
    max-width: 320px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.input-field:focus {
    border-color: #38bdf8;
    outline: none;
}

.btn-primary {
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
}
