/* 3D Print Orlando – Repair Form v2.2 */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

.tdpr-form-wrap { max-width: 680px; margin: 0 auto; font-family: 'Rajdhani', Arial, sans-serif; }

.tdpr-form-card, .tdpr-status-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 14px;
    padding: 32px;
    color: #e6edf3;
}

.tdpr-form-title { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: #e6edf3; }
.tdpr-form-intro { margin: 0 0 24px; color: #c9d1d9; font-size: 16px; line-height: 1.6; }

/* Fields */
.tdpr-field-group { margin-bottom: 20px; }
.tdpr-label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: #8b949e; margin-bottom: 7px; font-weight: 600; }
.tdpr-req { color: #ff5252; margin-left: 3px; }
.tdpr-input {
    width: 100%;
    padding: 13px 15px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #e6edf3;
    font-size: 16px;
    font-family: 'Rajdhani', sans-serif;
    transition: border-color .2s;
    box-sizing: border-box;
}
.tdpr-input:focus { border-color: #00b4d8; outline: none; }
.tdpr-textarea { resize: vertical; min-height: 100px; }
.tdpr-code-input { font-family: 'Share Tech Mono', monospace; font-size: 22px; letter-spacing: 6px; text-align: center; }

/* Checkboxes */
.tdpr-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }
.tdpr-cb-label { display: flex; align-items: center; gap: 8px; padding: 9px 15px; background: #0d1117; border: 1px solid #30363d; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 600; color: #c9d1d9; transition: border-color .2s, background .2s; }
.tdpr-cb-label:hover { border-color: #00b4d8; }
.tdpr-cb-label input[type="checkbox"] { accent-color: #00b4d8; width: 17px; height: 17px; cursor: pointer; }
.tdpr-cb-label input:checked + span { color: #00b4d8; }
.tdpr-cb-label:has(input:checked) { border-color: #00b4d8; background: #00b4d810; }

/* Submit */
.tdpr-submit-btn { width: 100%; padding: 15px; background: #00b4d8; color: #000; border: none; border-radius: 10px; font-size: 17px; font-weight: 700; font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; margin-top: 8px; transition: background .2s, transform .1s; }
.tdpr-submit-btn:hover { background: #00c8f0; }
.tdpr-submit-btn:active { transform: scale(.98); }
.tdpr-submit-btn:disabled { background: #30363d; color: #8b949e; cursor: not-allowed; }

/* Messages */
.tdpr-msg { padding: 13px 17px; border-radius: 8px; font-size: 15px; margin-bottom: 18px; line-height: 1.5; }
.tdpr-error { background: #2d0f0f; border: 1px solid #f8515144; color: #ff8f8f; }

/* ── SUCCESS CARD ── */
.tdpr-success-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 14px;
    padding: 40px 32px;
    text-align: center;
    color: #e6edf3;
}
.tdpr-success-icon { font-size: 56px; color: #3fb950; margin-bottom: 14px; line-height: 1; }
.tdpr-success-card h2 { color: #3fb950; font-size: 28px; margin: 0 0 12px; font-weight: 700; }
.tdpr-success-lead { color: #c9d1d9; font-size: 17px; margin: 0 0 10px; line-height: 1.5; }
.tdpr-job-code {
    font-family: 'Share Tech Mono', monospace;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 10px;
    color: #00b4d8;
    background: #0d1117;
    border: 2px solid #00b4d8;
    border-radius: 10px;
    padding: 14px 28px;
    display: inline-block;
    margin: 14px 0 24px;
}
.tdpr-success-note {
    font-size: 16px;
    color: #8b949e;
    margin: 0 0 16px;
    line-height: 1.6;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.tdpr-success-location {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 16px;
    color: #c9d1d9;
    line-height: 1.7;
}
.tdpr-success-location strong { color: #e6edf3; font-size: 17px; }

/* ── STATUS RESULT ── */
.tdpr-status-header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid #30363d; }
.tdpr-status-header h2 { margin: 0; font-size: 22px; color: #e6edf3; }
.tdpr-status-badge { padding: 7px 18px; border-radius: 20px; background: #21262d; border: 1px solid #30363d; color: #c9d1d9; font-size: 15px; font-weight: 700; font-family: 'Rajdhani', sans-serif; }
.tdpr-status-section { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #21262d; }
.tdpr-status-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #00b4d8; font-weight: 700; margin-bottom: 12px; }
.tdpr-status-notes { font-size: 16px; color: #c9d1d9; line-height: 1.7; white-space: pre-wrap; }
.tdpr-cost-row-pub { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #21262d; font-size: 15px; color: #c9d1d9; font-family: 'Rajdhani', sans-serif; }
.tdpr-status-total { font-size: 22px; font-weight: 700; color: #e6edf3; font-family: 'Share Tech Mono', monospace; text-align: right; padding-top: 10px; }
.tdpr-payment-notice { background: #0d2a1a; border: 1px solid #3fb95044; border-radius: 8px; padding: 14px 18px; color: #3fb950; font-size: 15px; margin-bottom: 16px; line-height: 1.5; }
.tdpr-pay-btn { width: 100%; padding: 15px; background: #3fb950; color: #000; border: none; border-radius: 10px; font-size: 17px; font-weight: 700; font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: background .2s; }
.tdpr-pay-btn:hover { background: #4dd965; }
.tdpr-pay-btn:disabled { background: #21262d; color: #8b949e; cursor: not-allowed; }
.tdpr-paid-notice { background: #0d2a1a; border: 2px solid #3fb950; border-radius: 10px; padding: 18px 22px; color: #3fb950; font-size: 18px; font-weight: 700; text-align: center; }

@media(max-width: 600px) {
    .tdpr-form-card, .tdpr-status-card, .tdpr-success-card { padding: 22px 18px; }
    .tdpr-job-code { font-size: 30px; letter-spacing: 6px; }
}

/* ── MULTI-MACHINE FORM ── */
.tdpr-machine-entry { margin-bottom: 20px; }
.tdpr-machine-entry + .tdpr-machine-entry { border-top: 1px solid #30363d; padding-top: 20px; }
.tdpr-machine-heading { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #00b4d8; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.tdpr-remove-machine { background: transparent; border: 1px solid #ff5252; color: #ff5252; border-radius: 6px; padding: 3px 10px; font-size: 13px; cursor: pointer; font-family: 'Rajdhani', sans-serif; }
.tdpr-remove-machine:hover { background: #ff525220; }
.tdpr-add-machine-btn { width: 100%; padding: 12px; background: transparent; border: 1px dashed #30363d; border-radius: 10px; color: #8b949e; font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; margin-bottom: 16px; transition: all .2s; }
.tdpr-add-machine-btn:hover { border-color: #00b4d8; color: #00b4d8; }

/* ── MACHINE BLOCK IN DASHBOARD ── */
.tdpr-machine-block { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #21262d; }
.tdpr-machine-block:last-child { border-bottom: none; margin-bottom: 0; }
.tdpr-machine-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #00b4d8; font-weight: 700; margin-bottom: 8px; }

/* ── TAX ROW ── */
.tdpr-tax-row { border-top: 1px solid #30363d !important; margin-top: 4px; padding-top: 4px !important; color: #8b949e; font-style: italic; }

/* ── CUSTOMER STATUS: MACHINE COST BLOCKS ── */
.tdpr-machine-cost-block { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #21262d; }
.tdpr-machine-cost-block:last-of-type { margin-bottom: 0; border-bottom: none; }
.tdpr-machine-cost-head { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #00b4d8; margin-bottom: 10px; }
.tdpr-machine-subtotal { border-top: 1px solid #30363d !important; margin-top: 4px; }
.tdpr-machine-subtotal span:first-child { color: #c9d1d9 !important; font-weight: 700 !important; font-style: normal !important; }

/* ── COST ESTIMATE BOX ── */
.tdpr-estimate-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    background: #0d1117;
    border: 1px solid #00b4d840;
    border-radius: 10px;
    padding: 13px 18px;
    margin-bottom: 14px;
}
.tdpr-estimate-label { font-size: 14px; color: #8b949e; font-weight: 600; white-space: nowrap; }
.tdpr-estimate-val   { font-size: 18px; font-weight: 700; color: #00b4d8; font-family: 'Share Tech Mono', monospace; }
.tdpr-estimate-note  { font-size: 13px; color: #8b949e; font-style: italic; }

/* ── STATUS BADGE COLORS ── */
.tdpr-status-badge.status-complete  { color: #3fb950; border-color: #3fb950; background: #0d2a1a; }
.tdpr-status-badge.status-pickup    { color: #00b4d8; border-color: #00b4d8; background: #001a26; }
.tdpr-status-badge.status-progress  { color: #d29922; border-color: #d29922; background: #261e00; }
.tdpr-status-badge.status-cancelled { color: #ff5252; border-color: #ff5252; background: #2d0f0f; }
.tdpr-status-badge.status-dropped   { color: #8b949e; border-color: #8b949e; }

/* ── DISCLAIMER ── */
.tdpr-disclaimer {
    font-size: 13px;
    color: #8b949e;
    line-height: 1.6;
    padding: 12px 16px;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ── PAYMENT NOTICE ── */
.tdpr-payment-notice strong { display: block; font-size: 16px; color: #3fb950; margin-bottom: 6px; }
.tdpr-payment-notice p { margin: 0; font-size: 14px; color: #c9d1d9; }

/* ── FORM SECTION DIVIDER ── */
.tdpr-section-divider {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #00b4d8;
    border-top: 1px solid #30363d;
    padding-top: 18px;
    margin-top: 10px;
    margin-bottom: 14px;
}
