:root {
    --primary-blue: #2B85F0;
    --primary-blue-light: #E3F2FD;
    --primary-blue-dark: #1976D2;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #1F2937;
    --green-500: #10B981;
    --orange-500: #F97316;
}

/* Layout */
.app-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.nov_sidebar {
    width: 224px;
    background-color: white;
    /* border-right: 1px solid var(--gray-200); */
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.nov_sidebar-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.nov_sidebar-logo {
    max-height: 56px;
    width: auto;
}

.nov_sidebar-nav {
    flex: 1;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    border-right: 1px solid var(--gray-200);
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0.5rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
}

.nav-item:hover {
    background-color: var(--primary-blue-light);
    color: var(--gray-900);
    text-decoration: none;
}

.nav-item.active {
    background-color: #DBEAFE;
    color: #1E40AF;
    font-weight: 600;
}

.nav-item i {
    width: 20px;
    margin-right: 0.75rem;
    color: var(--gray-500);
}

.nav-item.active i {
    color: var(--primary-blue);
}

.nav-divider {
    height: 1px;
    background-color: var(--gray-200);
    margin: 0.25rem 0;
}

.nov_sidebar-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
}

.logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: var(--gray-600);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Top Bar */
.top-bar {
    height: 80px;
    background-color: white;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

.top-bar-controls {
    display: flex;
    align-items: center;
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.top-bar-select {
    background: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-900);
    cursor: pointer;
}

.top-bar-select:focus {
    outline: none;
}

.top-bar-divider {
    width: 1px;
    height: 24px;
    background-color: var(--gray-300);
    margin: 0 0.25rem;
}
.rounded-top-5 {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}
/* Content Area */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    background-color: #f9fafb;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.page-description {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Filters */
.filters-section {
    margin-bottom: 1.5rem;
}

.filter-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.search-input-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    height: 40px;
    padding-left: 2.5rem;
    padding-right: 3rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(43, 133, 240, 0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-kbd {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    border-radius: 0.25rem;
}

.filter-select-wrapper {
    position: relative;
}

.filter-select {
    width: 100%;
    height: 40px;
    padding: 0 2rem 0 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background-color: white;
    appearance: none;
    cursor: pointer;
}

.filter-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(43, 133, 240, 0.1);
    outline: none;
}

.select-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

/* Results */
.results-summary {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Table */
.tests-table-wrapper {
    background-color: white;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    overflow: hidden;
}

.tests-table {
    width: 100%;
    margin-bottom: 0;
}

.tests-table thead th {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--gray-200);
    background-color: white;
}

.tests-table tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: background-color 0.2s;
}

.tests-table tbody tr:hover {
    background-color: var(--gray-50);
}

.tests-table tbody tr:last-child {
    border-bottom: none;
}

.tests-table tbody td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
}

.nov_test-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.test-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 0.25rem;
    cursor: pointer;
}

.test-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background-color: var(--gray-500);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.test-name {
    font-weight: 500;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.test-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    max-width: 400px;
}

.test-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.subscription-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subscription-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.subscription-dot.free {
    background-color: var(--green-500);
}

.subscription-dot.premium {
    background-color: var(--orange-500);
}

.subscription-text {
    font-size: 0.875rem;
    color: var(--gray-900);
}

.assign-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.assign-btn:hover {
    background-color: var(--primary-blue-dark);
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}

/* Mobile Sidebar Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-overlay.active {
    display: block;
}

.nov_sidebar.mobile {
    position: fixed;
    left: -224px;
    top: 0;
    bottom: 0;
    z-index: 1001;
    transition: left 0.3s;
}

.nov_sidebar.mobile.active {
    left: 0;
}

.close-nov_sidebar-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--gray-500);
}

.close-nov_sidebar-btn:hover {
    color: var(--gray-900);
}

/* Responsive */
@media (max-width: 991.98px) {
    .nov_sidebar {
        display: none;
    }

    .sidebar.mobile {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .close-nov_sidebar-btn {
        display: block;
    }

    .top-bar {
        padding: 0 0.5rem;
    }

    .content-area {
        padding: 1.5rem 1rem;
    }

    .tests-table-wrapper {
        overflow-x: auto;
    }

    .tests-table {
        min-width: 800px;
    }
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 1.25rem;
    }

    .top-bar-controls {
        flex: 1;
        max-width: 400px;
        margin: 0 0.5rem;
    }

    .top-bar-select {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
}

.nav-item span {
  margin-left: 0.5rem;
}
