/* ================================================================================
 * ORDER_GODAM 아이디 찾기 / 비밀번호 찾기 스타일
 * 작성일: 2026-02-03
 * ================================================================================ */

/* ============================================
 * 1. 페이지 기본 스타일
 * ============================================ */
.find-page {
    min-height: 100vh;
    background: #f8f8f8;
}

/* ============================================
 * 2. 헤더 (뒤로가기 + 제목 구조)
 * ============================================ */
.find-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    padding: 0 8px;
    z-index: 100;
}

.find-header__back {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    color: #333;
    flex-shrink: 0;
}

.find-header__title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    /* 뒤로가기 버튼 너비만큼 우측에 여백을 주어 중앙 정렬 */
    padding-right: 32px;
}

/* ============================================
 * 3. 컨텐츠 영역
 * ============================================ */
.find-content {
    padding: 72px 16px 32px;
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
 * 4. 로고
 * ============================================ */
.find-logo {
    text-align: center;
    margin-bottom: 32px;
}

.find-logo img {
    height: 48px;
}

/* ============================================
 * 5. 탭 (아이디 찾기 / 비밀번호 찾기 전환)
 * ============================================ */
.find-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.find-tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.find-tab--active {
    background: var(--primary-color, #8B4513);
    color: #fff;
}

.find-tab--inactive {
    background: #fff;
    color: #666;
}

.find-tab--inactive:hover {
    background: #eee;
}

/* ============================================
 * 6. 폼 스타일
 * ============================================ */
.find-form-group {
    margin-bottom: 16px;
}

.find-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.find-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    transition: border-color 0.2s;
}

.find-form-input:focus {
    outline: none;
    border-color: var(--primary-color, #8B4513);
}

.find-input-row {
    display: flex;
    gap: 8px;
}

.find-input-row .find-form-input {
    flex: 1;
}

/* ============================================
 * 7. 버튼
 * ============================================ */
.find-btn {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.find-btn--primary {
    background: var(--primary-color, #8B4513);
    color: #fff;
    width: 100%;
}

.find-btn--primary:hover {
    background: var(--primary-dark, #5D2E0C);
}

.find-btn--primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.find-btn--outline {
    background: #fff;
    color: var(--primary-color, #8B4513);
    border: 1px solid var(--primary-color, #8B4513);
}

.find-btn--outline:hover {
    background: #fdf5ee;
}

.find-btn--sm {
    padding: 14px 16px;
    font-size: 14px;
    white-space: nowrap;
}

/* ============================================
 * 8. 결과 박스
 * ============================================ */
.find-result-box {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 24px;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.find-result-box.show {
    display: block;
}

.find-result-box__icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.find-result-box__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.find-result-box__id {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color, #8B4513);
    margin-bottom: 16px;
}

.find-result-box__date {
    font-size: 13px;
    color: #888;
}

.find-result-box__actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.find-result-box__actions .find-btn {
    flex: 1;
}

/* ============================================
 * 9. 안내 텍스트
 * ============================================ */
.find-info-text {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    margin-top: 16px;
}

/* ============================================
 * 10. 단계 표시 (비밀번호 찾기용)
 * ============================================ */
.find-step-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.find-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.find-step--active {
    background: var(--primary-color, #8B4513);
    color: #fff;
}

.find-step--inactive {
    background: #e5e5e5;
    color: #888;
}

.find-step--completed {
    background: #4caf50;
    color: #fff;
}
