* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
.login-banner {
    width: 100%;
}
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}
.step {
    display: none;
}
.step.active {
    display: block;
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}
input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 8px;
}
.two-column {
    display: flex;
    gap: 20px;
}
.two-column > div {
    flex: 1;
}
.password-strength {
    margin-top: 5px;
    display: flex;
}
.strength-bar {
    flex: 1;
    margin-right: 2px;
    background-color: #eee;
    border-radius: 3px;
    padding: 8px 0;
}
.strength-bar.active {
    background-color: #4CAF50;
}
.btn-group {
    display: flex;
    justify-content: space-between;
}
button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.btn-secondary {
    background-color: #f1f1f1;
    color: #333;
}
.helper-link {
    margin-top: 15px;
    text-align: center;
}
a {
    color: #4CAF50;
    text-decoration: none;
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    margin-right: 15px;
}
.summary-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.summary-item {
    margin-bottom: 10px;
}
.summary-label {
    font-weight: bold;
    display: inline-block;
    width: 150px;
}
.edit-btn {
    margin-left: 10px;
    font-size: 14px;
    color: #4CAF50;
    background: none;
    border: none;
    padding: 0;
}
.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
.country-select {
    height: 40px;
}
/* 在<style>标签内添加以下样式 */
.steps-container {
    position: relative;
    margin-bottom: 40px;
}

/* 进度条样式 */
.progress-bar-bg {
    height: 4px;
    background-color: #e0e0e0;
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 1;
}

.progress-bar-fill {
    height: 100%;
    background-color: #4CAF50;
    width: 25%; /* 默认第一步 */
    transition: width 0.3s ease;
}

/* 步骤指示器样式 */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 25%;
}

.step-indicator.active {
    color: #234f17;
    border-bottom: 2px solid #234f17;
}

/* 修改步骤图标样式 */
.step-icon {
    width: 48px; /* 保持原有大小 */
    height: 48px; /* 保持原有大小 */
    border-radius: 50%; /* 圆形 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    border: 2px solid #ddd; /* 默认灰色边框 */
    background-color: #fff; /* 默认白色背景 */
    transition: all 0.3s ease;
}

/* 修改连接线样式 */
.progress-bar-bg {
    height: 4px;
    background-color: #ddd; /* 未完成连接线灰色 */
    position: absolute;
    top: 24px; /* 垂直居中对齐图标 */
    left: 0;
    right: 0;
    z-index: 1;
}

.progress-bar-fill {
    height: 100%;
    background-color: #4CAF50; /* 已完成连接线绿色 */
    transition: width 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

/* 更新状态样式 - 未完成 */
.step-indicator:not(.active):not(.completed) .step-icon {
    color: #999 !important;
    border-color: #ddd !important;
    background-color: #fff !important;
}

/* 更新状态样式 - 已完成 */
.step-indicator.completed .step-icon {
    color: #fff !important;
    border-color: #4CAF50 !important;
    background-color: #4CAF50 !important; /* 已完成绿色背景 */
}

/* 更新状态样式 - 当前步骤 */
.step-indicator.active .step-icon {
    color: #fff !important;
    background-color: #4CAF50 !important; /* 当前步骤绿色背景 */
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
    transform: scale(1.05);
}
