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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.top-image {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #1e88e5;
    overflow: hidden;
}

.top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 15px;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.content {
    padding: 30px 20px;
    text-align: center;
    background-color: white;
}

.school-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.page-title {
    font-size: 1.25rem;
    color: #1e88e5;
    margin-bottom: 40px;
}

.form-section {
    max-width: 400px;
    margin: 0 auto;
}

.section-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
}

.select-container {
    position: relative;
    margin-bottom: 30px;
}

select {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* 专业搜索框样式 */
.major-search {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
}

.major-search:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.1);
}

/* 下拉菜单样式 */
select option {
    padding: 8px 12px;
}

/* 自定义滚动条样式 */
select::-webkit-scrollbar {
    width: 6px;
}

select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

select::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

select::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #999;
    pointer-events: none;
}

/* 自定义弹框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.modal-quota {
    font-size: 16px;
    margin-bottom: 30px;
    color: #333;
}

.modal-quota .quota-number {
    font-weight: bold;
    color: #ff0000;
}

.modal-btn {
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.modal-btn:hover {
    background-color: #1976d2;
}

.query-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #1e88e5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 40px;
}

.query-btn:hover {
    background-color: #1976d2;
}

.note {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    text-align: left;
}

@media (max-width: 768px) {
    .top-image {
        height: 200px;
    }
    
    .logo-container {
        width: 110px;
        height: 110px;
    }
    
    .school-name {
        font-size: 1.40625rem;
        font-weight: 500;
    }
    
    .page-title {
          font-size: 1.25rem;
          font-weight: 500;

    }
    
    .form-section {
        padding: 0 10px;
    }
    
    select, .query-btn {
        padding: 12px;
    }
}