:root {
    --primary-color: #1e9fff; /* 主色调 */
    --success-color: #52c41a; /* 成功色 */
    --error-color: #ff4d4f; /* 错误色 */
    --text-color: #333; /* 正文颜色 */
}

html, body {
    height: 100%;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    background: url(/static/images/bg_old.jpg) 0 0 / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 主容器样式 */
.auth-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    width: 480px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 头部样式 */
.auth-header {
    background: var(--primary-color);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.auth-header h1 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 2px;
}

/* 进度条容器 */
.progress-container {
    padding: 2rem 2rem 0;
}

.layui-progress {
    height: 8px;
    border-radius: 4px;
}

/* 表单主体样式 */
.auth-body {
    padding: 2rem;
    position: relative;
}

/* 步骤容器 */
.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.input-label {
    width: 100%;
}

/* 输入框样式 */
.layui-input {
    border-radius: 5px;
    padding-left: 40px !important;
    transition: all 0.3s ease;
}

.layui-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(30, 159, 255, 0.1);
}

/* 按钮样式 */
.action-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.layui-btn {
    border-radius: 5px;
    padding: 0 2rem;
    transition: all 0.2s ease;
}

.layui-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(30, 159, 255, 0.3);
}

/* 成功页面样式 */
.success-wrapper {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    color: var(--success-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .auth-container {
        width: 95%;
        margin: 0 10px;
    }

    .auth-body {
        padding: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
