/* 学生查询管理系统 - 现代淡蓝色风格 */

:root {
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --success: #10b981;
    --success-bg: #ecfdf5;
    --danger: #f43f5e;
    --danger-bg: #fff1f2;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--primary-50) 0%, #ffffff 50%, var(--gray-50) 100%);
    min-height: 100vh;
    color: var(--gray-700);
    line-height: 1.6;
}

/* 导航栏 - 毛玻璃效果 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--primary-100);
    z-index: 1000;
}

.navbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 1.125rem;
}

.navbar-logo {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.navbar-logo svg {
    width: 20px;
    height: 20px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.navbar-avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.navbar-avatar svg {
    width: 16px;
    height: 16px;
}

.btn-logout {
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-logout svg {
    width: 14px;
    height: 14px;
}

.btn-logout:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    color: var(--gray-700);
}

/* 主容器 */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

/* 页面头部 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-500);
}

.page-icon svg {
    width: 32px;
    height: 32px;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.025em;
}

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

/* 搜索区域 */
.search-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-100);
    margin-bottom: 24px;
}

.search-wrapper {
    display: flex;
    gap: 12px;
}

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

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.search-icon svg {
    width: 18px;
    height: 18px;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.2s;
}

.search-input:hover {
    background: var(--gray-100);
}

.search-input:focus {
    outline: none;
    background: white;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.search-input::placeholder {
    color: var(--gray-400);
}

.btn-search {
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.btn-search .btn-icon {
    width: 18px;
    height: 18px;
}

.btn-search:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-search:active {
    transform: translateY(0);
}

.btn-search:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 结果区域 */
.results-section {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.results-header {
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.results-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-title svg {
    width: 18px;
    height: 18px;
    color: var(--primary-500);
}

.results-badge {
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-600);
    background: var(--primary-100);
    border-radius: 20px;
}

.results-body {
    max-height: 480px;
    overflow-y: auto;
}

.results-empty {
    padding: 80px 24px;
    text-align: center;
}

.results-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--gray-400);
}

.results-empty-icon svg {
    width: 36px;
    height: 36px;
}

.results-empty-text {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

/* 学生卡片 */
.student-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: background 0.15s;
}

.student-card:last-child {
    border-bottom: none;
}

.student-card:hover {
    background: var(--primary-50);
}

.student-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.student-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-300) 0%, var(--primary-400) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.student-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.student-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9375rem;
}

.student-id {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-family: 'SF Mono', Monaco, monospace;
}

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

/* 状态标签 */
.status-tag {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-tag svg {
    width: 14px;
    height: 14px;
}

.status-tag.active {
    background: var(--success-bg);
    color: var(--success);
}

.status-tag.inactive {
    background: var(--danger-bg);
    color: var(--danger);
}

/* 操作按钮 */
.btn-action {
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-action .btn-icon {
    width: 14px;
    height: 14px;
}

.btn-action.enable {
    background: var(--success);
    color: white;
}

.btn-action.enable:hover {
    background: #059669;
}

.btn-action.disable {
    background: var(--gray-100);
    color: var(--gray-600);
}

.btn-action.disable:hover {
    background: var(--danger-bg);
    color: var(--danger);
}

.btn-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 加载动画 */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

.spinner-dark {
    border-color: var(--gray-300);
    border-top-color: var(--primary-500);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Toast 提示 */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 12px 24px;
    background: var(--gray-800);
    color: white;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* 登录页面 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 50%, white 100%);
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.login-logo svg {
    width: 28px;
    height: 28px;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.input-icon svg {
    width: 18px;
    height: 18px;
}

.input-with-icon .form-input {
    padding-left: 44px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.2s;
}

.form-input:hover {
    background: var(--gray-100);
}

.form-input:focus {
    outline: none;
    background: white;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 4px var(--primary-100);
}

.btn-login {
    padding: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.alert-error {
    background: var(--danger-bg);
    color: var(--danger);
}

.hidden { display: none !important; }

/* 滚动条 */
.results-body::-webkit-scrollbar {
    width: 6px;
}

.results-body::-webkit-scrollbar-track {
    background: transparent;
}

.results-body::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.results-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* 动画 */
.fade-in {
    animation: fadeIn 0.4s ease;
}

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

/* 结果卡片 */
.result-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    overflow: hidden;
}

.result-card-header {
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--gray-700);
}

.result-card-header svg {
    width: 20px;
    height: 20px;
    color: var(--primary-500);
}

.result-card-body {
    padding: 24px;
}

.result-card-footer {
    padding: 16px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

/* 状态徽章 */
.status-badge-large {
    margin-left: auto;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-badge-large svg {
    width: 14px;
    height: 14px;
}

.status-badge-large.active {
    background: var(--success-bg);
    color: var(--success);
}

.status-badge-large.inactive {
    background: var(--danger-bg);
    color: var(--danger);
}

.count-badge {
    margin-left: auto;
    padding: 4px 12px;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item.full-width {
    grid-column: span 2;
}

.info-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 0.9375rem;
    color: var(--gray-800);
    font-weight: 500;
}

.info-value.highlight {
    color: var(--primary-600);
    font-weight: 600;
}

.info-value .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 8px;
}

.badge.blue { background: var(--primary-100); color: var(--primary-600); }
.badge.yellow { background: #fef3c7; color: #d97706; }
.badge.green { background: var(--success-bg); color: var(--success); }

/* 切换按钮大号 */
.btn-toggle-large {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-toggle-large .btn-icon {
    width: 20px;
    height: 20px;
}

.btn-toggle-large.disable {
    background: var(--gray-100);
    color: var(--gray-600);
}

.btn-toggle-large.disable:hover {
    background: var(--danger);
    color: white;
}

.btn-toggle-large.enable {
    background: var(--success);
    color: white;
}

.btn-toggle-large.enable:hover {
    background: #059669;
}

.btn-toggle-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 班级信息 */
.class-summary {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--primary-50);
    border-radius: 8px;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.class-card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.class-card.inactive {
    opacity: 0.6;
    background: var(--gray-50);
}

.class-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.class-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-status svg {
    width: 14px;
    height: 14px;
}

.class-status.active {
    background: var(--success-bg);
    color: var(--success);
}

.class-status.inactive {
    background: var(--danger-bg);
    color: var(--danger);
}

.class-title {
    font-weight: 600;
    color: var(--gray-800);
}

.class-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.class-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    padding: 6px 10px;
    background: var(--gray-50);
    border-radius: 6px;
}

.class-detail-item span:first-child {
    color: var(--gray-500);
}

.class-detail-item span:last-child {
    color: var(--gray-800);
    font-weight: 500;
}

.class-detail-item.highlight {
    background: var(--primary-50);
}

.class-detail-item.highlight span:last-child {
    color: var(--primary-600);
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 12px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.blue { background: var(--primary-100); color: var(--primary-600); }
.stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-icon.purple { background: #f3e8ff; color: #9333ea; }

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--gray-400);
}

/* 学生详情卡片 */
.student-detail-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 24px;
}

.detail-header {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-avatar {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
}

.detail-basic {
    flex: 1;
}

.detail-username {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.detail-realname {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.detail-status {
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-status svg {
    width: 16px;
    height: 16px;
}

.detail-status.active {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

.detail-status.inactive {
    background: rgba(244, 63, 94, 0.2);
    color: #fda4af;
}

.detail-body {
    padding: 24px 32px;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.detail-label svg {
    width: 18px;
    height: 18px;
}

.detail-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-800);
}

.detail-id {
    font-family: 'SF Mono', Monaco, monospace;
    color: var(--gray-500);
}

.status-text.text-success {
    color: var(--success);
}

.status-text.text-danger {
    color: var(--danger);
}

.detail-footer {
    padding: 24px 32px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.btn-toggle-status {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-toggle-status .btn-icon {
    width: 20px;
    height: 20px;
}

.btn-toggle-status.disable {
    background: var(--gray-100);
    color: var(--gray-600);
}

.btn-toggle-status.disable:hover {
    background: var(--danger);
    color: white;
}

.btn-toggle-status.enable {
    background: var(--success);
    color: white;
}

.btn-toggle-status.enable:hover {
    background: #059669;
}

.btn-toggle-status:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 未找到卡片 */
.not-found-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 60px 32px;
    text-align: center;
    margin-top: 24px;
}

.not-found-icon {
    width: 80px;
    height: 80px;
    background: var(--danger-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--danger);
}

.not-found-icon svg {
    width: 36px;
    height: 36px;
}

.not-found-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.not-found-desc {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* 响应式 */
@media (max-width: 640px) {
    .navbar-user span:last-child { display: none; }
    .main-container { padding: 88px 16px 40px; }
    .page-title { font-size: 1.5rem; }
    .search-section { padding: 16px; }
    .search-wrapper { flex-direction: column; }
    .btn-search { justify-content: center; }
    .login-card { padding: 32px 24px; }
    
    .detail-header { flex-direction: column; text-align: center; padding: 24px; }
    .detail-avatar { width: 60px; height: 60px; font-size: 1.5rem; }
    .detail-status { margin-top: 12px; }
    .detail-body { padding: 16px; }
    .detail-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .detail-footer { padding: 16px; }
}
