* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-color: #f5f9f5;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 10px;
        }
        
        /* 头部样式 - 深绿色镜面光泽效果 */
        header {
            background: linear-gradient(135deg, 
                #1b5e20 0%, 
                #2e7d32 25%, 
                #4caf50 50%, 
                #2e7d32 75%, 
                #1b5e20 100%);
            color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            animation: mirrorShine 3s ease-in-out infinite;
            background-size: 200% 200%;
        }
        
        @keyframes mirrorShine {
            0%, 100% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
        }
        
        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
        }
        
        .logo {
            width: 50px;
            height: 50px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        /* 预留logo图片样式 */
        .logo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .logo i {
            font-size: 24px;
            color: #2e7d32;
            display: none;
        }
        
        .school-info {
            display: flex;
            flex-direction: column;
        }
        
        .school-name {
            font-size: 18px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        }
        
        .school-info .school-motto {
            font-size: 18px !important;
            font-style: normal !important;
            font-weight: bold;
            margin-top: 2px;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
            font-family: 'Ma Shan Zheng', cursive;
            color: white;
            letter-spacing: 1px;
        }
        .admin-link {
            color: white;
            text-decoration: none;
            font-size: 14px;
            margin-left: 10px;
        }
        
        /* 主内容区样式 */
        .main-content {
            display: flex;
            margin-top: 15px;
            height: calc(100vh - 120px);
            gap: 10px;
        }
        
        .category-list {
            width: 48%;
            height:83%;
            background: white;
            border-radius: 10px;
            padding: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            overflow-y: auto;
            border: 1px solid #e0e0e0;
        }
        
        .category-item {
            padding: 12px 10px;
            border-bottom: 1px solid #e8f5e9;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            color: #2e7d32;
        }
        
        .category-item:hover {
            background-color: #e8f5e9;
        }
        
        .category-item.active {
            background-color: #c8e6c9;
            color: #1b5e20;
            font-weight: bold;
            border-left: 3px solid #2e7d32;
        }
        
        .major-list {
            width: 60%;
            height:83%;
            background: white;
            border-radius: 10px;
            padding: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            overflow-y: auto;
            border: 1px solid #e0e0e0;
        }
        
        .major-item {
            padding: 15px;
            border-bottom: 1px solid #e8f5e9;
            cursor: pointer;
            transition: all 0.3s;
            border-radius: 5px;
            margin-bottom: 5px;
        }
        
        .major-item:hover {
            background-color: #e8f5e9;
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .major-name {
            font-weight: bold;
            margin-bottom: 5px;
            color: #2e7d32;
        }
        
        .major-desc {
            font-size: 12px;
            color: #666;
        }
        
        .loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }
        
        /* 详情页面样式 */
        .detail-page {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            padding: 15px;
            overflow-y: auto;
            z-index: 200;
        }
        
        .detail-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e8f5e9;
        }
        
        .back-btn {
            background: none;
            border: none;
            font-size: 16px;
            color: #2e7d32;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 5px;
        }
        
        .back-btn:hover {
            background-color: #e8f5e9;
        }
        
        .detail-title {
            font-size: 20px;
            font-weight: bold;
            color: #2e7d32;
        }
        
        .detail-content {
            margin-bottom: 20px;
        }
        
        /* 新增：2x2网格布局 */
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .info-grid .info-item {
            margin-bottom: 0;
            padding: 12px;
            min-height: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .info-item {
            margin-bottom: 15px;
            padding: 15px;
            background: #f1f8e9;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .info-label {
            font-weight: bold;
            color: #1b5e20;
            margin-bottom: 8px;
            font-size: 14px;
        }
        
        /* 底部导航样式 */
        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: white;
            padding: 10px 0;
            display: flex;
            justify-content: space-around;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
            border-top: 1px solid #e0e0e0;
            z-index: 100;
        }
        
        .footer-item {
            text-align: center;
            font-size: 12px;
            color: #666;
            transition: all 0.3s;
            cursor: pointer;
            flex: 1;
        }
        
        .footer-item.active {
            color: #2e7d32;
        }
        
        .footer-item i {
            display: block;
            font-size: 20px;
            margin-bottom: 5px;
            color: #2e7d32;
        }
        
        .footer-item:hover {
            transform: translateY(-3px);
        }
        
        /* 响应式调整 */
        @media (max-width: 480px) {
            .category-item {
                font-size: 13px;
                padding: 10px 8px;
            }
            
            .major-item {
                padding: 12px 10px;
            }
            
            .info-item {
                padding: 12px;
            }
            
            .info-grid {
                gap: 8px;
            }
            
            .info-grid .info-item {
                padding: 10px;
                min-height: 50px;
            }
            
            .info-grid .info-label {
                font-size: 13px;
                margin-bottom: 5px;
            }
            
            .info-grid .info-item > div:not(.info-label) {
                font-size: 14px;
            }
            
            .school-name {
                font-size: 16px;
            }
            
            .school-motto {
                font-size: 12px;
            }
            
            /* 官网logo样式 */
            .website-logo {
                width: 60px !important;
                height: 60px !important;
                border-radius: 8px;
                overflow: hidden;
                cursor: pointer;
                transition: all 0.3s ease;
                border: 2px solid rgba(255,255,255,0.3);
                box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            }
            
            .website-logo:hover {
                transform: scale(1.1);
                border-color: rgba(255,255,255,0.6);
                box-shadow: 0 3px 8px rgba(0,0,0,0.3);
            }
            
            .website-logo-img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
            
            /* 响应式调整 */
            @media (max-width: 480px) {
                .website-logo {
                    width: 56px !important;
                    height: 56px !important;
                }
            }
        }
        
        #agreement-content::-webkit-scrollbar {
            width: 6px;
        }
        
        #agreement-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }
        
        #agreement-content::-webkit-scrollbar-thumb {
            background: #2e7d32;
            border-radius: 3px;
        }
        
        #agreement-content::-webkit-scrollbar-thumb:hover {
            background: #1b5e20;
        }
        
        /* 弹窗关闭动画 */
        @keyframes modalSlideOut {
            from {
                opacity: 1;
                transform: translateY(0);
            }
            to {
                opacity: 0;
                transform: translateY(-20px);
            }
        }
        
        /* 通知相关样式 */
        .notification-icon:hover {
            transform: scale(1.1);
            transition: transform 0.3s ease;
        }
        
        .notification-badge {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        /* 响应式调整 */
        @media (max-width: 480px) {
            .notification-icon i {
                font-size: 18px !important;
            }
            
            .notification-badge {
                width: 14px !important;
                height: 14px !important;
                font-size: 9px !important;
            }
            
            #notification-modal > div {
                margin: 10px !important;
                max-width: none !important;
            }
        }
        
        /* 电脑端 - 官网logo尺寸 */
        .website-logo {
            width: 60px !important;
            height: 60px !important;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.3);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        .website-logo:hover {
            transform: scale(1.1);
            border-color: rgba(255,255,255,0.6);
            box-shadow: 0 3px 8px rgba(0,0,0,0.3);
        }
        
        .website-logo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        /* 移动端适配 */
        @media (max-width: 480px) {
            .website-logo {
                width: 50px;
                height: 50px;
            }
        }
        
        /* 专业搜索高亮样式 */
        .major-item.search-highlight {
            background: #e8f5e9 !important;
            border: 2px solid #2e7d32 !important;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); }
            100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
        }
        
        /* 在index.php的style标签内添加以下样式 */
        .schools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 12px;
            margin-top: 15px;
        }
        
        .school-card-mini {
            background: white;
            border-radius: 8px;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid #e0e0e0;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .school-card-mini:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border-color: #2e7d32;
        }
        
        .school-logo-mini {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            margin: 0 auto 8px;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .school-logo-mini img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .school-logo-mini i {
            font-size: 24px;
            color: #2e7d32;
        }
        
        .school-name-mini {
            font-size: 12px;
            font-weight: bold;
            color: #333;
            line-height: 1.3;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .school-level-mini {
            font-size: 10px;
            color: #666;
            background: #f1f8e9;
            padding: 2px 6px;
            border-radius: 4px;
            display: inline-block;
        }
        
        /* 响应式调整 */
        @media (max-width: 480px) {
            .schools-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 8px;
            }
            
            .school-card-mini {
                padding: 8px;
            }
            
            .school-logo-mini {
                width: 40px;
                height: 40px;
            }
            
            .school-name-mini {
                font-size: 11px;
            }
        }
        
        /* 关联院校容器样式 */
        .related-schools-container {
            margin-top: 10px;
        }
        
        .loading-schools {
            text-align: center;
            padding: 20px;
            color: #666;
            font-style: italic;
        }
        
        /* 院校卡片网格布局 */
        .schools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }
        
        .school-card-small {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        
        .school-card-small:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: #2e7d32;
        }
        
        .school-logo-small {
            width: 60px;
            height: 60px;
            margin: 0 auto 8px;
            border-radius: 8px;
            overflow: hidden;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .school-logo-small img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .school-logo-small i {
            font-size: 24px;
            color: #2e7d32;
        }
        
        .school-name-small {
            font-size: 12px;
            font-weight: bold;
            color: #333;
            line-height: 1.3;
            margin-bottom: 5px;
            word-break: break-all;
        }
        
        .school-level-small {
            font-size: 10px;
            color: #666;
            background: #f0f0f0;
            padding: 2px 6px;
            border-radius: 8px;
            display: inline-block;
        }
        
        .no-schools-message {
            text-align: center;
            padding: 20px;
            color: #666;
            font-style: italic;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .schools-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
                gap: 10px;
            }
            
            .school-card-small {
                padding: 8px;
            }
            
            .school-logo-small {
                width: 50px;
                height: 50px;
            }
            
            .school-name-small {
                font-size: 11px;
            }
        }
        
        /* 搜索框样式 */
        .search-container {
            margin: 15px 0;
            position: relative;
        }
        
        .search-box {
            width: 100%;
            padding: 12px 45px 12px 15px;
            border: 2px solid #2e7d32;
            border-radius: 25px;
            font-size: 14px;
            outline: none;
            background: white;
            box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
            transition: all 0.3s ease;
        }
        
        .search-box:focus {
            box-shadow: 0 2px 12px rgba(46, 125, 50, 0.2);
            border-color: #1b5e20;
        }
        
        .search-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #2e7d32;
            cursor: pointer;
            background: none;
            border: none;
            font-size: 16px;
        }
        
        .search-results {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            max-height: 200px;
            overflow-y: auto;
            z-index: 10;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            display: none;
        }
        
        .search-result-item {
            padding: 10px 15px;
            border-bottom: 1px solid #f0f0f0;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .search-result-item:hover {
            background-color: #e8f5e9;
        }
        
        .search-result-item:last-child {
            border-bottom: none;
        }
        
        .search-result-name {
            font-weight: bold;
            color: #2e7d32;
            font-size: 14px;
        }
        
        .search-result-category {
            font-size: 12px;
            color: #666;
            margin-top: 2px;
        }
        
        .no-results {
            padding: 15px;
            text-align: center;
            color: #666;
            font-style: italic;
        }