/* ═══════════════════════════════════════════════════════════
   AIRBID — post-task.css
═══════════════════════════════════════════════════════════ */

/* ── LAYOUT ── */
.pt-main {
    background: #f3f4f6;
    padding: 32px 0 72px;
    min-height: calc(100vh - 200px);
}

.pt-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── BACK LINK ── */
.pt-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--outline-variant);
    border-radius: 99px;
    padding: 7px 16px;
    margin-bottom: 20px;
    transition: border-color 0.15s, color 0.15s;
}

.pt-back-link:hover { border-color: var(--deep-teal); color: var(--deep-teal); }
.pt-back-link .material-symbols-outlined { font-size: 16px; }

/* ── PROGRESS BAR ── */
.pt-progress-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-xl);
    padding: 18px 28px;
    margin-bottom: 20px;
    gap: 0;
}

.pt-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pt-step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--outline-variant);
    background: #fff;
    color: var(--outline);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
}

.pt-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--outline);
    white-space: nowrap;
    transition: color 0.25s;
}

/* Active step */
.pt-step-active .pt-step-circle {
    border-color: var(--deep-teal);
    background: var(--deep-teal);
    color: #fff;
}

.pt-step-active .pt-step-label { color: var(--on-surface); }

/* Done step */
.pt-step-done .pt-step-circle {
    border-color: var(--emerald-accent);
    background: var(--emerald-accent);
    color: #fff;
}

.pt-step-done .pt-label { color: var(--outline); }

.pt-progress-line {
    flex: 1;
    height: 2px;
    background: var(--outline-variant);
    margin: 0 16px;
    transition: background 0.25s;
}

.pt-progress-line.pt-line-done { background: var(--emerald-accent); }

/* ── CARD ── */
.pt-card {
    background: #fff;
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
}

/* ── STEP PILL ── */
.pt-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(240, 107, 100, 0.10);
    color: var(--vibrant-coral);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    border-radius: 99px;
    padding: 5px 14px;
    margin-bottom: 14px;
}

.pt-step-dot {
    width: 6px;
    height: 6px;
    background: var(--vibrant-coral);
    border-radius: 50%;
}

.pt-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0 0 4px;
}

.pt-card-sub {
    font-size: 0.9rem;
    color: var(--outline);
    margin: 0 0 28px;
}

/* ── INLINE ROW (location + budget type side by side) ── */
.pt-inline-row {
    display: flex;
    gap: 0;
    align-items: flex-start;
    margin-bottom: 24px;
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    background: #f8f9fa;
    overflow: hidden;
}

.pt-field-inline {
    flex: 1;
    margin-bottom: 0;
    padding: 20px 24px;
}

.pt-field-divider {
    width: 1px;
    background: #e2e4e7;
    align-self: stretch;
    flex-shrink: 0;
}

/* ── FIELDS ── */
.pt-field {
    margin-bottom: 24px;
}

.pt-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--outline);
    margin-bottom: 8px;
}

.pt-required { color: var(--vibrant-coral); }

.pt-input, .pt-select, .pt-textarea {
    width: 100%;
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    padding: 11px 14px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--on-surface);
    background: #f8f9fa;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

.pt-input:focus, .pt-select:focus, .pt-textarea:focus {
    border-color: var(--deep-teal);
    background: #fff;
}

.pt-input::placeholder, .pt-textarea::placeholder { color: #aab0b8; }
.pt-input.input-error, .pt-select.input-error, .pt-textarea.input-error {
    border-color: var(--vibrant-coral);
}

.pt-textarea { resize: vertical; min-height: 140px; }

.pt-error {
    font-size: 0.75rem;
    color: var(--vibrant-coral);
    margin: 5px 0 0;
    display: none;
}

.pt-error.pt-error-visible { display: block; }

/* Select */
.pt-select-wrap { position: relative; max-width: 360px; }

.pt-select {
    appearance: none;
    padding-right: 38px;
    cursor: pointer;
}

.pt-select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--outline);
    font-size: 18px;
    pointer-events: none;
}

/* ── PILL GROUPS ── */
.pt-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pt-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    border: 1.5px solid #e2e4e7;
    border-radius: 99px;
    background: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pt-pill .material-symbols-outlined { font-size: 16px; }

.pt-pill:hover {
    border-color: var(--deep-teal);
    color: var(--deep-teal);
}

.pt-pill-active {
    border-color: var(--vibrant-coral) !important;
    color: var(--vibrant-coral) !important;
    background: rgba(240, 107, 100, 0.07) !important;
}

/* ── BUDGET ── */
.pt-budget-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    background: #f8f9fa;
    overflow: hidden;
    max-width: 360px;
    transition: border-color 0.15s;
}

.pt-budget-wrap:focus-within {
    border-color: var(--deep-teal);
    background: #fff;
}

.pt-budget-prefix {
    padding: 0 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--outline);
    border-right: 1.5px solid #e2e4e7;
    height: 44px;
    display: flex;
    align-items: center;
}

.pt-input-budget {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 11px 14px;
    flex: 1;
}

.pt-input-budget:focus { border: none; background: transparent; }

/* ── DATE ROW ── */
.pt-date-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.pt-date-input {
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    padding: 9px 14px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--on-surface);
    background: #f8f9fa;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
}

.pt-date-input:focus { border-color: var(--deep-teal); }

.pt-date-hint {
    font-size: 0.8125rem;
    color: var(--outline);
}

/* ── ACCORDION (step 2) ── */
.pt-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid #e2e4e7;
}

.pt-acc-item {
    border-bottom: 1px solid #e2e4e7;
}

.pt-acc-item:last-child { border-bottom: none; }

.pt-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--on-surface);
    text-align: left;
    transition: background 0.15s, color 0.15s;
}

.pt-acc-trigger:hover { background: #f0f1f3; }

.pt-acc-trigger.pt-acc-open {
    background: rgba(240, 107, 100, 0.06);
    color: var(--vibrant-coral);
    border-bottom: 1px solid #e2e4e7;
}

.pt-acc-chevron {
    font-size: 20px;
    color: var(--outline);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.pt-acc-open .pt-acc-chevron { transform: rotate(180deg); color: var(--vibrant-coral); }

.pt-acc-body {
    padding: 0 20px;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.2s;
}

.pt-acc-body.pt-acc-expanded {
    padding: 16px 20px 20px;
    max-height: 520px;
}

.pt-acc-pills { margin-bottom: 12px; }

.pt-acc-text-input {
    width: 100%;
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    padding: 10px 14px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--on-surface);
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.pt-acc-text-input:focus { border-color: var(--deep-teal); }
.pt-acc-text-input::placeholder { color: #aab0b8; }

.pt-acc-hint {
    font-size: 0.8125rem;
    color: var(--outline);
    margin-bottom: 10px;
}

.pt-acc-input, .pt-acc-textarea {
    width: 100%;
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    padding: 10px 14px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--on-surface);
    background: #f8f9fa;
    outline: none;
    transition: border-color 0.15s, background 0.15s;
}

.pt-acc-input:focus, .pt-acc-textarea:focus {
    border-color: var(--deep-teal);
    background: #fff;
}

.pt-acc-input::placeholder, .pt-acc-textarea::placeholder { color: #aab0b8; }
.pt-acc-textarea { resize: vertical; min-height: 90px; }

.pt-acc-yn {
    display: flex;
    gap: 10px;
}

.pt-acc-yn-btn {
    padding: 7px 22px;
    border: 1.5px solid #e2e4e7;
    border-radius: 99px;
    background: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-surface);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pt-acc-yn-btn:hover { border-color: var(--deep-teal); color: var(--deep-teal); }

.pt-acc-yn-btn.pt-yn-active {
    border-color: var(--deep-teal);
    background: rgba(23, 62, 75, 0.07);
    color: var(--deep-teal);
}

/* ── REVIEW (step 3) ── */
.pt-review-summary {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e4e7;
}

.pt-review-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0 0 14px;
    line-height: 1.3;
}

.pt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pt-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f3f4f6;
    border: 1px solid #e2e4e7;
    border-radius: 99px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--on-surface-variant);
}

.pt-chip .material-symbols-outlined {
    font-size: 15px;
    color: var(--deep-teal);
}

.pt-chip-primary {
    background: rgba(23, 62, 75, 0.08);
    border-color: rgba(23, 62, 75, 0.18);
    color: var(--deep-teal);
}

.pt-chip-primary .material-symbols-outlined {
    color: var(--deep-teal);
}

.pt-review-section { margin-bottom: 28px; }

.pt-review-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.pt-review-section-head h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--on-surface);
    margin: 0;
}

.pt-review-edit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--deep-teal);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: var(--radius-lg);
    transition: background 0.15s;
}

.pt-review-edit:hover {
    background: rgba(23, 62, 75, 0.07);
    text-decoration: none;
}

.pt-review-edit .material-symbols-outlined { font-size: 15px; }

.pt-review-list {
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
}

.pt-review-row {
    display: flex;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f1f3;
    font-size: 0.9rem;
    align-items: flex-start;
}

.pt-review-row:last-child { border-bottom: none; }

.pt-review-key {
    min-width: 110px;
    font-weight: 700;
    color: var(--outline);
    flex-shrink: 0;
    font-size: 0.8125rem;
    padding-top: 1px;
}

.pt-review-val {
    color: var(--on-surface);
    font-weight: 600;
    line-height: 1.5;
}

.pt-review-desc-row .pt-review-val {
    font-weight: 400;
    color: var(--on-surface-variant);
}

.pt-review-divider {
    height: 4px;
    background: #f3f4f6;
    border-top: 1px solid #e2e4e7;
    border-bottom: 1px solid #e2e4e7;
}

.pt-review-row-qa { background: #fafafa; }

.pt-review-key-qa {
    min-width: 160px;
    white-space: normal;
    line-height: 1.4;
}

/* ── TERMS ── */
.pt-terms-row { margin-bottom: 28px; }

.pt-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--on-surface);
    cursor: pointer;
    line-height: 1.55;
}

.pt-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--deep-teal);
    cursor: pointer;
}

.pt-link { color: var(--deep-teal); font-weight: 700; text-decoration: none; }
.pt-link:hover { text-decoration: underline; }

/* ── ACTIONS ── */
.pt-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pt-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--deep-teal);
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-lg);
    padding: 12px 28px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s, transform 0.1s;
}

.pt-btn-primary:hover { opacity: 0.87; color: #fff; transform: translateY(-1px); }
.pt-btn-primary .material-symbols-outlined { font-size: 18px; }

.pt-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--on-surface);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    border: 1.5px solid #e2e4e7;
    border-radius: var(--radius-lg);
    padding: 11px 24px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.pt-btn-secondary:hover { border-color: var(--deep-teal); color: var(--deep-teal); background: #fff; }

/* ── SUCCESS ── */
.pt-success-card { text-align: center; padding: 56px 40px; }

.pt-success-icon-wrap {
    width: 72px;
    height: 72px;
    background: rgba(76, 195, 155, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pt-success-icon { font-size: 42px; color: var(--emerald-accent); }

/* ── RESPONSIVE ── */
@media (max-width: 767.98px) {
    .pt-card { padding: 24px 20px; }
    .pt-progress-bar { padding: 14px 16px; gap: 0; }
    .pt-step-label { display: none; }
    .pt-progress-line { margin: 0 10px; }
    .pt-card-title { font-size: 1.25rem; }
    .pt-pill-group { gap: 6px; }
    .pt-pill { padding: 7px 14px; font-size: 0.8125rem; }
    .pt-inline-row { flex-direction: column; }
    .pt-field-divider { width: 100%; height: 1px; }
    .pt-field-inline { padding: 16px 18px; }
    .pt-select-wrap { max-width: 100%; }
    .pt-budget-wrap { max-width: 100%; }
    .pt-success-card { padding: 36px 24px; }
}

@media (max-width: 575.98px) {
    .pt-container { padding: 0 12px; }
    .pt-card { padding: 20px 16px; }
    .pt-actions { flex-direction: column; align-items: stretch; }
    .pt-btn-primary, .pt-btn-secondary { justify-content: center; }
    .pt-review-key { min-width: 90px; font-size: 0.75rem; }
    .pt-review-row { padding: 12px 14px; gap: 10px; }
    .pt-review-key-qa { min-width: 0; width: 100%; }
    .pt-review-row-qa { flex-direction: column; gap: 4px; }
    .pt-review-title { font-size: 1.25rem; }
    .pt-chip { font-size: 0.75rem; padding: 6px 12px; }
    .pt-review-section-head h3 { font-size: 1rem; }
    .pt-date-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .pt-acc-text-input { font-size: 0.8125rem; }
}

@media (max-width: 374.98px) {
    .pt-container { padding: 0 8px; }
    .pt-card { padding: 16px 12px; }
    .pt-card-title { font-size: 1.125rem; }
    .pt-pill { padding: 6px 12px; font-size: 0.75rem; }
    .pt-input, .pt-select, .pt-textarea { font-size: 0.875rem; }
    .pt-progress-bar { padding: 10px 12px; }
    .pt-back-link { font-size: 0.8125rem; padding: 6px 12px; }
    .pt-review-title { font-size: 1.125rem; }
    .pt-chip { font-size: 0.6875rem; padding: 5px 10px; }
}
