        :root {
            --primary: #3498db;
            --primary-dark: #2980b9;
            --secondary: #2ecc71;
            --accent: #e74c3c;
            --light: #f8f9fa;
            --dark: #2c3e50;
            --gray: #7f8c8d;
            --border: #e0e6ed;
        }
        
        * { 
            box-sizing: border-box; 
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; 
        }
        
        body { 
            background: linear-gradient(135deg, #f5f9fc 0%, #e6f0f7 100%);
            min-height: 100vh;
            padding: 20px;
            color: var(--dark);
            line-height: 1.6;
        }
        a { text-decoration: none; color: #3498db; transition: all 0.2s; }
        a:hover { text-decoration: underline; color: #2980b9; }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* 卡片设计 */
        .card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            margin-bottom: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }
        
        /* 头部设计 */
        .header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 5px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            pointer-events: none;
        }
        
        .school-logo {
            width: 80px;
            height: 80px;
            background: white;
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            background: white url('logo.png') no-repeat center center;
        }
        
        .school-logo i {
            font-size: 40px;
            color: var(--primary);
        }
        
        .header h1 {
            margin: 0;
            font-size: 2.4rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .header p {
            margin: 10px 0 0;
            font-size: 1.1rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 15px auto 0;
        }
        
        /* 搜索区域 */
        .search-box {
            padding: 15px 10px;
            background: var(--light);
            border-bottom: 1px solid var(--border);
        }
        
        .search-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .search-type-toggle {
            display: flex;
            margin-bottom: 20px;
            border-radius: 12px;
            overflow: hidden;
            background: white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }
        
        .search-type-btn {
            flex: 1;
            padding: 15px;
            text-align: center;
            background: transparent;
            border: none;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s;
            color: var(--gray);
            position: relative;
        }
        
        .search-type-btn.active {
            background: var(--primary);
            color: white;
        }
        
        .search-type-btn:not(.active):hover {
            background: rgba(52, 152, 219, 0.1);
            color: var(--primary);
        }
        
        .search-form {
            display: flex;
            gap: 15px;
        }
        
        .search-input-container {
            flex: 1;
            position: relative;
        }
        
        .search-input {
            width: 100%;
            padding: 16px 20px 16px 50px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s;
            background: white;
            box-shadow: 0 4px 10px rgba(0,0,0,0.03);
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
        }
        
        .search-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            font-size: 18px;
        }
        
        .search-btn {
            padding: 0 30px;
            background: linear-gradient(to right, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .search-btn:hover {
            background: linear-gradient(to right, var(--primary-dark), #2472a4);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        }
        
        .search-btn:active {
            transform: translateY(1px);
        }
        
        /* 结果区域 */
        .result-box {
            padding: 10px;
        }
        
        .back-btn-container {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .back-btn { 
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 32px;
            background: linear-gradient(to right, #4d84e2, #69bac0);
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            text-decoration: none;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(95, 165, 231, 0.3);
            gap: 10px;
        }
        
        .back-btn:hover {
            background: linear-gradient(to right, #89bfd2, #efde5d);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(111, 216, 130, 0.4);
        }
        
        .result-count {
            text-align: center;
            font-size: 20px;
            color: var(--dark);
            margin: 10px 0 30px;
            font-weight: 600;
        }
        
        .result-count span {
            color: var(--accent);
            font-weight: 700;
        }
        
        /* 考生卡片 */
        .student-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        
        .student-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }
        
        .student-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            border-color: var(--primary);
        }
        
        .student-header {
            background: linear-gradient(to right, var(--primary), #3a9de2);
            padding: 5px;
            text-align: center;
            color: white;
            font-weight: 600;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }
        
        .student-info {
            padding: 25px;
        }
        
        .info-row {
            display: flex;
            margin-bottom: 18px;
            padding-bottom: 18px;
            border-bottom: 1px solid #f0f4f8;
            align-items: center;
        }
        
        .info-row:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .info-label {
            min-width: 80px;
            font-weight: 600;
            color: var(--gray);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .info-value {
            flex: 1;
            color: var(--dark);
            font-weight: 500;
            word-break: break-word;
        }
        
        .highlight {
            background-color: #fef9e7;
            color: #e67e22;
            font-weight: bold;
            padding: 0 4px;
            border-radius: 4px;
        }
        
        /* 工具按钮 */
        .action-buttons {
            display: flex;
            gap: 12px;
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid #f0f4f8;
        }
        
        .action-btn {
            flex: 1;
            padding: 12px;
            text-align: center;
            border-radius: 10px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .print-btn {
            background: #f0f7ff;
            color: var(--primary);
            border: 1px solid #d0e6ff;
        }
        
        .print-btn:hover {
            background: #e1f0ff;
        }
        
        .share-btn {
            background: #f0faf5;
            color: var(--secondary);
            border: 1px solid #c8f0de;
        }
        
        .share-btn:hover {
            background: #e1f7ec;
        }
        
        /* 无结果状态 */
        .no-results {
            text-align: center;
            padding: 50px 30px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .no-results i {
            font-size: 64px;
            color: #f1c40f;
            margin-bottom: 20px;
        }
        
        .no-results h3 {
            color: var(--accent);
            margin-bottom: 15px;
        }
        
        .suggestions {
            margin-top: 25px;
            text-align: left;
            background: #f9f9f9;
            padding: 20px;
            border-radius: 12px;
        }
        
        .suggestions h4 {
            margin-bottom: 12px;
            color: var(--gray);
        }
        
        .suggestions ul {
            padding-left: 20px;
        }
        
        .suggestions li {
            margin-bottom: 8px;
        }
        
        /* 欢迎页面 */
        .welcome-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin: 30px 0;
        }
        
        .welcome-card {
            background: white;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }
        
        .welcome-card h3 {
            margin-bottom: 20px;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        
        .stat-card {
            background: #f8fafc;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            border: 1px solid #edf2f7;
        }
        
        .stat-value {
            font-size: 32px;
            font-weight: 700;
            color: var(--primary);
            margin: 10px 0;
        }
        
        .stat-label {
            color: var(--gray);
            font-size: 14px;
        }
        
        /* 页脚 */
        .footer {
            text-align: center;
            margin-top: 10px;
            color: var(--gray);
            font-size: 14px;
            padding: 8px;
            background: white;
            border-radius: 16px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }
        
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-top: 15px;
        }
        
        .footer-links a {
            color: var(--primary);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        
        /* 响应式设计 */
        @media (max-width: 900px) {
            .welcome-section {
                grid-template-columns: 1fr;
            }
            
            .student-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2rem;
            }
            
            .search-form {
                flex-direction: column;
            }
            
            .search-btn {
                padding: 16px;
                justify-content: center;
            }
            
            .action-buttons {
                flex-direction: column;
            }
        }
        
        /* 动画效果 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .student-card {
            animation: fadeIn 0.4s ease-out;
        }
        
        .loading {
            display: none;
            text-align: center;
            padding: 40px;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid rgba(52, 152, 219, 0.2);
            border-top: 5px solid var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }