* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.forgot-section {
    min-height: calc(100vh - 80px - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.forgot-container {
    width: 100%;
    max-width: 450px;
    background-color: white;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.forgot-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #333;
}

/* 단계 표시 */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0 36px;
    gap: 0;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #999;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.step-dot.active {
    background-color: #1064D9;
    color: white;
}

.step-dot.done {
    background-color: #22c55e;
    color: white;
}

.step-line {
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    max-width: 60px;
    transition: background-color 0.3s;
}

.step-line.done {
    background-color: #22c55e;
}

/* 단계 콘텐츠 */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.step-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 폼 */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: #1064D9;
}

.input-help {
    font-size: 12px;
    color: #999;
}

/* 에러 메시지 */
.error-message {
    padding: 10px 14px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #ef4444;
    font-size: 13px;
    margin-bottom: 12px;
    display: none;
}

.error-message.show {
    display: block;
}

/* 버튼 */
.btn-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, #1064D9, #1C56A6);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
}

.btn-submit:hover {
    opacity: 0.9;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-back {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #999;
    text-decoration: none;
    margin-top: 16px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
}

.btn-back:hover {
    color: #1064D9;
}

/* 반응형 */
@media (max-width: 768px) {
    .forgot-container {
        padding: 40px 30px;
    }

    .forgot-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .forgot-section {
        padding: 40px 16px;
    }

    .forgot-container {
        padding: 30px 20px;
    }

    .forgot-title {
        font-size: 20px;
    }

    .form-input,
    .btn-submit {
        height: 46px;
        font-size: 14px;
    }
}
