/* 全局变量 */
:root {
    --tiffany-blue: #0abab5;
    --apple-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

/* 整体容器样式 */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--apple-font);
    color: #333;
}

/* 步骤信息样式 */
.step-info {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* 步骤容器样式 */
.step-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 单个步骤项样式 */
.step-item {
    flex: 0 0 calc(25% - 20px);
    width: calc(25% - 20px);
    max-width: 280px;
    margin-bottom: 20px;
    border: 3px solid var(--tiffany-blue);
    border-radius: var(--border-radius);
    padding: 15px;
    box-sizing: border-box;
    background-color: #fff;
    transition: box-shadow var(--transition-speed) ease;
}

.step-item:hover {
    box-shadow: 0 4px 12px rgba(10, 186, 181, 0.15);
}

/* 处理1-3个选项的情况 */
.step-container-1 .step-item,
.step-container-2 .step-item,
.step-container-3 .step-item {
    flex: 0 0 280px;
    width: 280px;
}

/* 输入组样式 */
.input-group {
    display: flex;
    flex-direction: column;
}

/* 标签样式 */
.input-group label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #333;
}

/* 文本输入框样式 */
.input-group input[type="text"] {
    font-size: 16px;
    padding: 10px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.input-group input[type="text"]:focus {
    outline: none;
    border-color: var(--tiffany-blue);
    box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.1);
}

/* 单选按钮容器样式 */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 单选按钮样式 */
.radio-option {
    display: flex;
    align-items: center;
}

.radio-option input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.radio-option label {
    cursor: pointer;
}

/* 自定义单选按钮样式 */
.radio-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #d2d2d7;
    border-radius: 50%;
    outline: none;
    transition: border-color var(--transition-speed) ease;
}

.radio-option input[type="radio"]:checked {
    border-color: var(--tiffany-blue);
    background-color: var(--tiffany-blue);
    box-shadow: inset 0 0 0 4px #fff;
}

/* 必填/选填文本样式 */
.input-hint {
    font-size: 12px;
    color: #86868b;
    margin-top: 8px;
}

/* 按钮容器样式 */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* 按钮样式 */
.buttons button {
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--tiffany-blue);
    color: #fff;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform 0.1s ease;
}

.buttons button:hover {
    background-color: #09a29d;
}

.buttons button:active {
    transform: translateY(1px);
}

.buttons button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(10, 186, 181, 0.3);
}

/* 确认页面样式 */
.confirmation {
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-item {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f5f5f7;
    border-radius: 8px;
}

.confirmation-item span:first-child {
    font-weight: 500;
    color: #333;
}

.confirmation-item span:last-child {
    color: #515154;
}

/* 响应式布局调整 */
@media (max-width: 1200px) {
    .step-item {
        flex: 0 0 calc(33.33% - 20px);
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 900px) {
    .step-item {
        flex: 0 0 calc(50% - 20px);
        width: calc(50% - 20px);
    }
}

@media (max-width: 600px) {

    .step-item,
    .step-container-1 .step-item,
    .step-container-2 .step-item,
    .step-container-3 .step-item {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .buttons button {
        width: 100%;
    }
}

/* 辅助样式 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}