:root {
    --primary-color: #1677ff; /* 极客蓝 */
    --primary-hover: #4096ff;
    --primary-active: #0958d9;
    --success-color: #52c41a;
    --warning-color: #faad14;
    --error-color: #ff4d4f;
    --text-main: #000000e0;
    --text-secondary: #000000a6;
    --text-tertiary: #00000073;
    --bg-body: #f0f2f5;
    --bg-header: #40a9ff; /* 顶栏天蓝色 */
    --border-radius: 6px;
    --shadow-card: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
    --transition-base: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5715;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

/* 通用工具类 */
.hidden { display: none !important; }

/* 按钮样式 */
button {
    font-family: inherit;
    transition: var(--transition-base);
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    padding: 6px 15px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

.primary-btn:active {
    background-color: var(--primary-active);
}

.text-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px 8px;
}

.text-btn:hover {
    color: var(--primary-hover);
    background-color: rgba(22, 119, 255, 0.05);
    border-radius: 4px;
}

/* 登录/注册页 - 科技感增强 */
.auth-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* 科技蓝渐变背景 */
    background: linear-gradient(135deg, #001529 0%, #003a8c 100%);
    position: relative;
    overflow: hidden;
}

/* 增加背景装饰纹理 */
.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    animation: moveBackground 60s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-card {
    width: 380px;
    background: rgba(255, 255, 255, 0.98);
    padding: 32px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.auth-tab {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-secondary);
    position: relative;
}

.auth-tab.active {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.auth-form h2 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-main);
    text-align: center;
}

.auth-form input,
.auth-form select {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 12px;
    border-radius: var(--border-radius);
    border: 1px solid #d9d9d9;
    transition: var(--transition-base);
    background-color: #fff;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.2);
}

.auth-form .primary-btn {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 8px;
}

.auth-footer {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    z-index: 10;
}

/* 应用主布局 */
.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 64px;
    background-color: var(--bg-header);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px; /* 加大边距 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.logo::before {
    content: '⚛';
    margin-right: 8px;
    font-size: 24px;
    color: #ffffff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

/* 统一顶栏图标风格 */
.header-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-icon:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.header-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.bell-icon {
    /* 兼容旧类名，具体样式由 header-icon 提供 */
}

.notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4f;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-user {
    color: #fff;
    font-weight: 500;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-logout {
    color: rgba(255, 255, 255, 0.86);
}

.header-logout:hover {
    color: #fff;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search-input {
    width: 0;
    opacity: 0;
    pointer-events: none;
    border-radius: 16px;
    border: none;
    padding: 0 0;
    height: 30px;
    font-size: 13px;
    transition: width 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

.header-search.active .header-search-input {
    width: 180px;
    opacity: 1;
    pointer-events: auto;
    padding: 0 12px;
}

.app-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 侧边栏 */
.sidebar {
    width: 240px;
    background-color: #fff;
    border-right: 1px solid #f0f0f0;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 8px 24px;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-toggle-btn {
    border: none;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-tertiary);
    cursor: pointer;
}

.sidebar-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.06);
}

.sidebar.collapsed {
    width: 72px;
}

.sidebar.collapsed .sidebar-header h3 {
    display: none;
}

.sidebar.collapsed .menu-list {
    padding: 0 8px;
}

.sidebar.collapsed .menu-item {
    justify-content: center;
}

.sidebar.collapsed .menu-text {
    display: none;
}

.sidebar.collapsed .menu-icon {
    margin-right: 0;
}

.menu-list {
    list-style: none;
    padding: 0 12px;
}

.menu-item {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-bottom: 4px;
    color: var(--text-secondary);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
}

.menu-item:hover {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.02);
}

.menu-item.active {
    background-color: #e6f4ff;
    color: var(--primary-color);
    font-weight: 500;
}

.menu-item.has-submenu::after {
    content: "›";
    font-size: 12px;
    color: var(--text-tertiary);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.menu-item.has-submenu.expanded::after {
    transform: rotate(90deg);
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.menu-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
}

.menu-text {
    flex: 1;
}

.submenu-list {
    list-style: none;
    padding: 0 0 4px 32px;
    margin: 0 0 8px;
}

.submenu-list.collapsed {
    display: none;
}

.submenu-item {
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}

.submenu-item:hover {
    color: var(--primary-color);
}

.submenu-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* 内容区域 */
.content {
    flex: 1;
    padding: 24px;
    background-color: var(--bg-body);
    overflow-y: auto;
    display: block; /* 覆盖原来的 flex，使用标准流布局更稳健 */
}

.panel {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-card);
    margin-bottom: 24px; /* 卡片间距 */
    transition: var(--transition-base);
}

.panel:hover {
    box-shadow: var(--shadow-hover);
}

.panel h2 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
    border-left: 4px solid var(--primary-color);
    padding-left: 12px;
    line-height: 1.2;
}

.panel-header-with-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.panel-header-with-actions h2 {
    margin-bottom: 0;
}

.panel-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-search-input {
    width: 200px;
    padding: 6px 8px;
    border-radius: var(--border-radius);
    border: 1px solid #d9d9d9;
    font-size: 13px;
}

.panel-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.2);
}

/* 仪表盘 */
.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-row-top .dashboard-card {
    flex: 1 1 0;
}

.dashboard-card {
    flex: 1 1 0;
    min-width: 0;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dashboard-card-title {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.dashboard-card-value {
    font-size: 22px;
    font-weight: 600;
}

.dashboard-card-footer {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.dashboard-card-highlight {
    color: #52c41a;
}

.dashboard-card-warning {
    color: #fa8c16;
}

.dashboard-chart {
    flex: 1 1 0;
    min-width: 0;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
}

.dashboard-chart-header {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.dashboard-chart-body {
    flex: 1;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 200px;
}

.bar-chart-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
}

.bar-chart-bar {
    width: 16px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #69c0ff, #0050b3);
}

.bar-chart-label {
    margin-top: 6px;
}

.line-chart {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 200px;
}

.line-chart-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
}

.line-chart-point-wrapper {
    position: relative;
    height: 160px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.line-chart-point-line {
    width: 2px;
    background: rgba(22, 119, 255, 0.25);
}

.line-chart-point {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translateY(50%);
}

.line-chart-label {
    margin-top: 6px;
}

/* 卡片网格 */
.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    border: none;
    border-radius: var(--border-radius);
    padding: 20px;
    background: linear-gradient(135deg, #ffffff, #f0f5ff);
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

.card-meta {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 6px;
}

.card-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 16px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-hover));
    margin-right: 8px;
}

.lab-detail-placeholder {
    padding: 40px;
    text-align: center;
    color: #999;
    background: radial-gradient(circle at top, #e6f7ff 0, #ffffff 55%);
    border-radius: var(--border-radius);
    border: 1px dashed #bae7ff;
}

/* 详情 & 预订 */
.lab-detail {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lab-detail img {
    width: 320px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.lab-info {
    flex: 1;
}

.lab-detail-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lab-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.lab-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 8px;
}

.lab-info-row {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}

.lab-info-label {
    width: 72px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.lab-info-value {
    flex: 1;
    color: var(--text-main);
    word-break: break-all;
}

.lab-reservation {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed #e8e8e8;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lab-reservation-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lab-reservation-title {
    font-size: 16px;
    font-weight: 600;
}

.lab-reservation-subtitle {
    font-size: 12px;
    color: var(--text-tertiary);
}

.lab-reservation-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lab-reservation-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lab-reservation-row-textarea {
    align-items: flex-start;
}

.lab-reservation-label {
    width: 72px;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.lab-reservation-input {
    flex: 1;
    border: 1px solid #d9d9d9;
    border-radius: var(--border-radius);
    padding: 6px 8px;
    font-size: 13px;
    min-width: 0;
}

.lab-reservation-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.2);
}

.lab-reservation-input[type="date"],
.lab-reservation-input select {
    max-width: 220px;
}

.lab-reservation-input textarea,
textarea.lab-reservation-input {
    resize: vertical;
    min-height: 72px;
}

.lab-reservation-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reservation-list {
    margin-top: 8px;
}

.reservation-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.reservation-list-header h4 {
    font-size: 14px;
    font-weight: 500;
}

.reservation-list-tip {
    font-size: 12px;
    color: var(--text-tertiary);
}

.reservation-item {
    padding: 8px 12px;
    border-radius: 4px;
    background-color: #fafafa;
    margin-bottom: 6px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.reservation-item .tag {
    margin-left: auto;
}

/* 抽屉样式 */
.drawer {
    position: fixed;
    top: 64px; /* 匹配 header 高度 */
    right: 0;
    width: 400px;
    bottom: 0;
    background-color: #fff;
    box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    z-index: 50;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.drawer-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}

.drawer-body {
    padding: 24px;
    overflow-y: auto;
}

/* 状态标签 */
.tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid transparent;
}

.tag-pending { background-color: #fffbe6; border-color: #ffe58f; color: #faad14; }
.tag-approved { background-color: #f6ffed; border-color: #b7eb8f; color: #52c41a; }
.tag-rejected { background-color: #fff2f0; border-color: #ffccc7; color: #ff4d4f; }
.tag-canceled { background-color: #f5f5f5; border-color: #d9d9d9; color: #00000040; }

/* 表格样式 */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

.table th, .table td {
    padding: 16px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    font-size: 14px;
}

.table th {
    background-color: #fafafa;
    color: var(--text-main);
    font-weight: 500;
}

.table tr:hover td {
    background-color: #fafafa;
}

/* 弹窗 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px); /* 毛玻璃背景 */
}

.modal {
    width: 500px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.2s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
}

.modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
    background-color: #fafafa;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

/* 错误提示 */
.form-error {
    color: var(--error-color);
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 12px;
}

/* 后台表单美化 */
.form-row {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.form-row-inline {
    display: flex;
    gap: 16px;
}

.form-row-inline .form-row {
    flex: 1;
}

.form-row label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.form-row input,
.form-row select,
.form-row textarea {
    border: 1px solid #d9d9d9;
    border-radius: var(--border-radius);
    padding: 6px 8px;
    font-size: 13px;
    font-family: inherit;
}

.form-row textarea {
    min-height: 72px;
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.2);
}

/* 后台操作按钮样式 */
.btn-edit {
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    color: var(--text-main);
    padding: 4px 10px;
    font-size: 13px;
}

.btn-edit:hover {
    background-color: #f5f5f5;
}

.btn-delete,
.btn-reject {
    background-color: #fff1f0;
    border-radius: 4px;
    border: 1px solid #ffa39e;
    color: #cf1322;
    padding: 4px 10px;
    font-size: 13px;
}

.btn-delete:hover,
.btn-reject:hover {
    background-color: #fff2f0;
}

.btn-approve {
    background-color: #f6ffed;
    border-radius: 4px;
    border: 1px solid #b7eb8f;
    color: #389e0d;
    padding: 4px 10px;
    font-size: 13px;
}

.btn-approve:hover {
    background-color: #f0fff0;
}

.btn-cancel {
    background-color: #fffbe6;
    border-radius: 4px;
    border: 1px solid #ffe58f;
    color: #fa8c16;
    padding: 4px 10px;
    font-size: 13px;
}

.btn-cancel:hover {
    background-color: #fff7db;
}

/* 移动端自适应 */
@media (max-width: 768px) {
    .content {
        padding: 12px;
    }

    .card-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .card {
        padding: 14px 12px;
    }

    .lab-detail {
        flex-direction: column;
        gap: 16px;
    }

    .lab-detail img {
        width: 100%;
        max-width: 100%;
        height: 180px;
    }

    .lab-reservation-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .lab-reservation-label {
        width: auto;
    }

    .lab-reservation-input[type="date"],
    .lab-reservation-input select {
        max-width: 100%;
    }

    .dashboard-row {
        flex-direction: column;
    }

    .dashboard-card,
    .dashboard-chart {
        width: 100%;
    }
}
