:root {
    --bg-primary: #f4f7fa;
    --bg-secondary: #ffffff;
    --bg-sidebar: #ffffff;
    --nav-active-bg: #0081c9;
    --nav-active-text: #ffffff;
    --nav-text: #4a5568;
    --text-primary: #1a202c;
    --text-secondary: #718096;
    --accent-color: #0081c9;
    --accent-hover: #0071b0;
    --accent-glow: rgba(0, 129, 201, 0.15);
    --sidebar-width: 260px;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styling - ACTIGEN Style */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    z-index: 100;
}

.sidebar-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-brand {
    font-weight: 900;
    font-size: 24px;
    color: var(--text-primary);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-brand .dot {
    color: var(--accent-color);
}

.sidebar-label {
    padding: 0 24px 10px;
    font-size: 11px;
    font-weight: 800;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-nav {
    flex: 1;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--nav-text);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: #718096;
}

.nav-item:hover {
    background-color: #f7fafc;
    color: var(--accent-color);
}

.nav-item.active {
    background-color: var(--nav-active-bg);
    color: var(--nav-active-text);
}

.nav-item.active i {
    color: white;
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
}

/* Main Content area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    position: relative;
}

.top-header {
    height: 80px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.top-left-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.menu-toggle {
    font-size: 20px;
    color: #718096;
    cursor: pointer;
}

.search-bar-container {
    max-width: 600px;
    width: 100%;
    position: relative;
}

.search-bar-container i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.search-bar-container input {
    width: 100%;
    background: #f7fafc;
    border: 1px solid var(--border-color);
    padding: 12px 16px 12px 48px;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}

.top-right-group {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-icons {
    display: flex;
    gap: 16px;
    font-size: 18px;
    color: #718096;
}

.header-icons i:hover {
    color: var(--accent-color);
    cursor: pointer;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.user-profile img,
.user-profile .avatar-placeholder {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.user-text {
    display: flex;
    flex-direction: column;
}

.user-text .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.user-text .role {
    font-size: 11px;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
}

.content-area {
    padding: 32px 60px;
    width: 100%;
}

/* Page Header Elements */
.page-title-row {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.page-title-row h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.page-title-row p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Redesigned Cards */
.glass-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Universal Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-decoration: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 8px 16px rgba(0, 129, 201, 0.25);
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: #f7fafc;
}

/* Badges */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: #edf2f7;
    color: #4a5568;
}

.status-badge.active {
    background: #e6fffa;
    color: #319795;
}

.status-badge.primary {
    background: #ebf8ff;
    color: var(--accent-color);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-area {
    animation: slideIn 0.5s ease-out;
}