/* 录取查询页面样式 */

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

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #4cc4bb 0%, #0e9e93 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px;
}

/* 查询框 */
.query-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* 学校Logo */
.logo-area {
    text-align: center;
    margin-bottom: 10px;
}

.luqu-logo {
    max-width: 380px;
    height: auto;
}

.title {
    text-align: center;
    font-size: 26px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* 表单 */
.form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #1890ff;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.icon-user {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.icon-idcard {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
}

.icon-shield {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E");
}

.input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 10px;
    font-size: 15px;
    color: #333;
    outline: none;
}

.input-wrapper input::placeholder {
    color: #aaa;
}

/* 验证码 */
.captcha-wrapper {
    padding-right: 5px;
}

.captcha-img {
    width: 110px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: border-color 0.3s;
}

.captcha-img:hover {
    border-color: #1890ff;
}

/* 按钮组 */
.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: #1890ff;
    color: #fff;
}

.btn-primary:hover {
    background: #40a9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.btn-secondary {
    background: #999;
    color: #fff;
}

.btn-secondary:hover {
    background: #aaa;
    transform: translateY(-1px);
}

/* 提示信息 */
.tips {
    text-align: center;
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 10px;
}

/* 查询结果 */
.result-box {
    margin-top: 25px;
    padding: 20px;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
}

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

.result-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #b7eb8f;
    color: #ff4d4f;
    font-weight: 600;
    font-size: 16px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
}

.result-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item .label {
    width: 90px;
    color: #666;
    font-size: 14px;
}

.result-item .value {
    flex: 1;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.result-item .major {
    color: #1890ff;
    font-size: 16px;
    font-weight: 600;
}

.status-success {
    color: #52c41a;
    font-weight: 600;
}

.result-item .courier {
    color: #fa8c16;
    font-weight: 500;
}

/* 错误提示 */
.error-box {
    margin-top: 20px;
    padding: 15px 20px;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff4d4f;
}

.error-box.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ff4d4f;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

/* 加载状态 */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

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

/* 响应式 */
@media (max-width: 480px) {
    .query-box {
        padding: 30px 20px;
    }
    
    .title {
        font-size: 22px;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
	.luqu-logo {
    max-width: 280px;
}
}
