/* 점빵마켓 - 3단계 매물등록 폼 */

.jp-submit-wrap {
    padding: 40px 0 80px;
    background: #f8f9fa;
    min-height: 60vh;
}

/* 진행 표시 바 */
.jp-step-progress {
    padding: 30px 0 40px;
}
.jp-step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}
.jp-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}
.jp-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}
.jp-step.active .jp-step-number {
    background: #ee7b30;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(238, 123, 48, 0.2);
}
.jp-step.completed .jp-step-number {
    background: #198754;
    color: #fff;
}
.jp-step.completed .jp-step-number::after {
    content: '\2713';
    font-size: 20px;
}
.jp-step.completed .jp-step-number {
    font-size: 0;
}
.jp-step-label {
    margin-top: 8px;
    font-size: 13px;
    color: #6c757d;
    white-space: nowrap;
}
.jp-step.active .jp-step-label {
    color: #ee7b30;
    font-weight: 600;
}
.jp-step.completed .jp-step-label {
    color: #198754;
}
.jp-step-line {
    flex: 1;
    height: 3px;
    background: #dee2e6;
    margin: 0 12px;
    margin-bottom: 28px;
    transition: background 0.3s;
}
.jp-step-line.active {
    background: #198754;
}

/* 폼 블록 */
.jp-form-section .block-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.jp-form-section .block-title-wrap h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.jp-form-section .block-title-wrap p {
    margin-bottom: 16px;
}

/* 입력 필드 */
.jp-form-section .form-control,
.jp-form-section .form-select {
    border-radius: 8px;
    padding: 10px 14px;
    border-color: #dee2e6;
}
.jp-form-section .form-control:focus,
.jp-form-section .form-select:focus {
    border-color: #ee7b30;
    box-shadow: 0 0 0 3px rgba(238, 123, 48, 0.15);
}
.jp-form-section .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}
.jp-form-section .input-group-text {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    font-size: 14px;
}

/* 사진 업로드 */
.jp-upload-area .media-drag-drop {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.3s;
}
.jp-upload-area .media-drag-drop:hover,
.jp-upload-area .media-drag-drop.drag-over {
    border-color: #ee7b30;
    background: #f0f7ff;
}
.jp-thumb-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f0f0f0;
}
.jp-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.jp-remove-img {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jp-featured-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: #ffc107;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

/* 패키지 카드 */
.jp-package-card {
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.jp-package-card:hover {
    border-color: #ee7b30;
    box-shadow: 0 4px 12px rgba(238, 123, 48, 0.15);
    transform: translateY(-2px);
}
.jp-package-card.selected {
    border-color: #ee7b30;
    background: #f0f7ff;
    box-shadow: 0 0 0 3px rgba(238, 123, 48, 0.2);
}
.jp-package-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.jp-package-period {
    font-size: 13px;
    color: #6c757d;
}
.jp-package-price {
    padding: 16px 0;
}
.jp-price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #ee7b30;
}
.jp-price-unit {
    font-size: 16px;
    color: #6c757d;
}
.jp-package-desc {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 16px;
    flex: 1;
}
.jp-package-card .jp-select-package {
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
}
.jp-package-card.selected .jp-select-package {
    background: #ee7b30;
    border-color: #ee7b30;
    color: #fff;
}

/* 로그인 필요 */
.jp-login-required {
    background: #fff;
    border-radius: 16px;
    padding: 60px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* 반응형 */
@media (max-width: 768px) {
    .jp-submit-wrap { padding: 20px 0 40px; }
    .jp-form-section .block-wrap { padding: 16px; }
    .jp-step-label { font-size: 11px; }
    .jp-step-number { width: 36px; height: 36px; font-size: 15px; }
    .jp-package-cards .col-md-4 { margin-bottom: 12px; }
}