/**
 * 登録フローのステップインジケーター
 */

.registration-steps-container {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px 20px;
}

.registration-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

/* ステップ間の線 */
.registration-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.registration-step {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 1;
}

/* ステップの円 */
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #e5e7eb;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: #9ca3af;
    transition: all 0.3s;
}

/* ステップラベル */
.step-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* 完了したステップ */
.registration-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.registration-step.completed .step-label {
    color: #10b981;
    font-weight: 600;
}

/* 現在のステップ */
.registration-step.active .step-circle {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.registration-step.active .step-label {
    color: #2563eb;
    font-weight: 600;
}

/* 進行中の線 */
.registration-steps.step-1::before {
    background: linear-gradient(to right, #e5e7eb 0%, #e5e7eb 100%);
}

.registration-steps.step-2::before {
    background: linear-gradient(to right, #10b981 0%, #10b981 33%, #e5e7eb 33%, #e5e7eb 100%);
}

.registration-steps.step-3::before {
    background: linear-gradient(to right, #10b981 0%, #10b981 66%, #e5e7eb 66%, #e5e7eb 100%);
}

.registration-steps.step-4::before {
    background: linear-gradient(to right, #10b981 0%, #10b981 100%);
}

/* ステップ説明文 */
.step-description {
    text-align: center;
    color: #374151;
    font-size: 16px;
    margin-top: 20px;
    padding: 15px 20px;
    background: #f3f4f6;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.step-description strong {
    color: #2563eb;
    display: block;
    margin-bottom: 5px;
}

/* モバイル対応 */
@media (max-width: 640px) {
    .registration-steps-container {
        padding: 20px 10px;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-label {
        font-size: 11px;
    }

    .step-description {
        font-size: 14px;
    }
}
