/* =============================================
   NELTECH JOBS SYSTEM - CENTRAL CSS
   Clean & Complete - Quote Form + Status Page
============================================= */

/* ====================== QUOTE FORM ====================== */
.nq-wrapper {
    max-width: 860px;
    margin: 40px auto;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}

.nq-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.nq-section-title {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.nq-section-title span {
    background: #fff;
    padding: 0 24px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}

.nq-row {
    margin-bottom: 20px;
}

.nq-two-col {
    display: flex;
    gap: 20px;
}

.nq-col {
    flex: 1;
}

.nq-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.93rem;
}

.nq-req {
    color: #e11d48;
}

.nq-wrapper input[type="text"],
.nq-wrapper input[type="email"],
.nq-wrapper input[type="tel"],
.nq-wrapper select,
.nq-wrapper textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1.02rem;
    transition: all 0.25s;
}

.nq-wrapper input:focus,
.nq-wrapper select:focus,
.nq-wrapper textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
    outline: none;
}

/* ====================== SERVICE ROWS ====================== */
.nq-service-rows {
    margin: 16px 0;
}

.nq-svc-row {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.nq-svc-row-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nq-svc-select {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1.02rem;
}

.nq-svc-remove {
    width: 50px;
    height: 50px;
    background: #fee2e2;
    color: #e11d48;
    border: none;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nq-svc-remove:hover {
    background: #fecaca;
    transform: scale(1.05);
}

.nq-svc-detail {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #94a3b8;
    font-size: 0.98rem;
    color: #166534;
    font-weight: 500;
}

/* Add Service Button */
.nq-add-service-btn {
    width: 100%;
    padding: 18px;
    background: #f0f9ff;
    border: 2px dashed #3b82f6;
    color: #1e40af;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 20px;
}

.nq-add-service-btn:hover {
    background: #dbeafe;
    border-color: #2563eb;
}

/* Totals Panel */
.nq-totals-panel {
    background: #f0fdf4;
    border: 2px solid #4ade80;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.nq-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 1.12rem;
    font-weight: 600;
}

/* Submit Button */
.nq-submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
}

/* ====================== CUSTOMER STATUS PAGE ====================== */
.neltech-status-wrapper {
    max-width: 820px;
    margin: 40px auto;
    padding: 20px;
    font-family: system-ui, -apple-system, sans-serif;
}

.neltech-status-wrapper h2 {
    margin-bottom: 8px;
}

.status-token {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.neltech-timeline {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.neltech-timeline::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e2e8f0;
}

.timeline-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-dot {
    width: 34px;
    height: 34px;
    background: #e2e8f0;
    border-radius: 50%;
    margin: 0 auto 10px;
    transition: all 0.4s;
}

.timeline-step.completed .step-dot { 
    background: #22c55e; 
}

.timeline-step.current .step-dot { 
    background: #3b82f6; 
    box-shadow: 0 0 0 8px rgba(59,130,246,0.25);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.status-content {
    background: #f8fafc;
    padding: 36px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Date picker chips */
.nq-avail-chip {
    display: inline-block;
    background: #f0f0f0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin: 4px;
}

.nq-avail-chip span[data-index] {
    margin-left: 8px;
    color: #e11d48;
    cursor: pointer;
    font-weight: bold;
}

/* Selected dates container */
#nq-selected-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    min-height: 35px;
}

/* Success box */
.nq-success {
    background: #f0fdf4;
    border: 2px solid #4ade80;
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

/* Error messages */
.nq-error {
    color: #e11d48;
    font-weight: 500;
}
