/* 继承登录页面的基础样式 */
.register-container {
    width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.register-container h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: #333;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f5f7fa;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    transition: all 0.3s;
}

.input-with-icon:focus-within {
    border-color: #1890ff;
    background-color: #fff;
}

.input-with-icon i {
    color: #999;
    font-size: 14px;
    width: 40px;
    text-align: center;
}

.input-with-icon input {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
}

.btn-register {
    width: 100%;
    padding: 12px;
    background-color: #1890ff;
    border: none;
    color: white !important;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-register:hover {
    background-color: #40a9ff;
}

.links {
    margin-top: 16px;
    text-align: center;
}

.links a {
    color: #1890ff;
    text-decoration: none;
    font-size: 14px;
}

.links span {
    margin: 0 8px;
    color: #dcdfe6;
}

/* 返回首页按钮样式 */
.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
}

.back-home a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #d9d9d9;
    background-color: white;
}

.back-home a:hover {
    color: #1890ff;
    border-color: #1890ff;
    background-color: rgba(24, 144, 255, 0.1);
}

.back-home i {
    font-size: 14px;
} 