/* =====================================================
   접수확인 페이지 스타일
   ===================================================== */

/* 메인 카드 */
.confirm-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.confirm-card-header {
    text-align: center;
    padding: 40px 30px 24px;
    border-bottom: 1px solid #f0f0f0;
    background: var(--primary-color-bg);
}

.confirm-icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-icon-circle i {
    font-size: 1.6rem;
    color: #fff;
}

.confirm-title {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 6px;
}

.confirm-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* 폼 본문 */
.confirm-form-body {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px 30px 36px;
}

.confirm-field {
    margin-bottom: 22px;
}

.confirm-field-label {
    display: block;
    font-size: 0.88rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.confirm-input {
    height: 46px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none !important;
}

.confirm-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-light) !important;
}

.confirm-input::placeholder {
    color: #adb5bd;
}

/* 연락처 인라인 그룹 */
.confirm-phone-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.confirm-phone-group .confirm-input {
    flex: 1;
    min-width: 0;
}

.confirm-phone-sep {
    color: #adb5bd;
    font-size: 1rem;
    flex-shrink: 0;
}

/* 필드 힌트 */
.confirm-field-hint {
    margin: 8px 0 0;
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

.confirm-field-hint i {
    color: var(--primary-color);
    margin-right: 4px;
}

.confirm-field-hint span {
    color: var(--primary-color);
}

/* 버튼 영역 */
.confirm-btn-area {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.confirm-btn-primary,
.confirm-btn-sub {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    border-radius: 10px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.confirm-btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.confirm-btn-primary:hover {
    background: var(--primary-color-light-hover);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.confirm-btn-sub {
    background: #f1f3f5;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.confirm-btn-sub:hover {
    background: #e9ecef;
    color: var(--text-color);
    transform: translateY(-2px);
}

/* =====================================================
   조회 결과 카드
   ===================================================== */
.confirm-result-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.confirm-result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 28px;
    border-bottom: 1px solid #f0f0f0;
}

.confirm-result-header i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.confirm-result-header h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

/* 테이블 */
.confirm-table-wrap {
    padding: 0;
}

.confirm-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.confirm-table thead th {
    background: #f8f9fa;
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 14px 16px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    font-weight: 600;
}

.confirm-table tbody td {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--text-color);
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    vertical-align: middle;
}

.confirm-table tbody tr:last-child td {
    border-bottom: none;
}

.confirm-table tbody tr:hover {
    background: #fafbfc;
}

/* 조회/수정 버튼 */
.btn-view,
.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-view {
    background: var(--primary-color-light);
    color: var(--primary-color);
}

.btn-view:hover {
    background: var(--primary-color-light-hover);
    color: var(--primary-color);
}

.btn-edit {
    background: #fff8e1;
    color: #e6a000;
}

.btn-edit:hover {
    background: #fff0c2;
    color: #d49200;
}

.btn-view i,
.btn-edit i {
    font-size: 0.75rem;
}

/* 안내문 박스 */
.confirm-notice-box {
    padding: 18px 28px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafbfc;
}

.confirm-notice-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.confirm-notice-item + .confirm-notice-item {
    margin-top: 8px;
}

.confirm-notice-item i {
    color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

/* =====================================================
   비밀번호 찾기 모달
   ===================================================== */
.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.modal-header .close:hover,
.modal-header .close:focus {
    color: #000;
    opacity: 0.75;
}

.alert .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.alert .close:hover,
.alert .close:focus {
    color: inherit;
    opacity: 0.75;
}

/* 모달 내부 info-item (비밀번호 찾기 폼) */
.password-reset-step .info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.password-reset-step .info-label {
    width: auto;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.password-reset-step .form-control-modern {
    height: 46px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.92rem;
    box-shadow: none;
}

.password-reset-step .form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-color-light);
}

/* =====================================================
   반응형
   ===================================================== */
@media (max-width: 576px) {
    .confirm-card-header {
        padding: 30px 20px 20px;
    }

    .confirm-icon-circle {
        width: 52px;
        height: 52px;
    }

    .confirm-icon-circle i {
        font-size: 1.3rem;
    }

    .confirm-title {
        font-size: 1.25rem;
    }

    .confirm-form-body {
        padding: 24px 20px 28px;
    }

    .confirm-phone-group {
        gap: 4px;
    }

    .confirm-phone-sep {
        font-size: 0.85rem;
    }

    .confirm-btn-area {
        flex-direction: column;
    }

    .confirm-btn-primary,
    .confirm-btn-sub {
        width: 100%;
    }

    .confirm-result-header {
        padding: 16px 20px;
    }

    .confirm-table thead th,
    .confirm-table tbody td {
        padding: 12px 10px;
        font-size: 0.82rem;
    }

    .confirm-notice-box {
        padding: 14px 20px 16px;
    }
}
