.status-main {
    min-height: calc(100vh - 70px);
    padding: 60px 0;
    display: flex;
    align-items: flex-start;
}

.status-wrapper {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.status-search-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.status-search-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light), var(--orange));
}

.status-search-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: #fff;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px var(--orange-glow);
}

.status-search-card h1 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.status-search-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 28px; }

.search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.search-input {
    flex: 1;
    font-size: 16px;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}
.search-hint { font-size: 12px; color: var(--text-muted); }

/* ===== ORDER RESULT ===== */
.order-result {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.order-result-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1.5px solid;
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Status colors */
.status-NEW { color: #3B9EFF; border-color: rgba(59,158,255,0.4); background: rgba(59,158,255,0.08); }
.status-NEW .status-dot { background: #3B9EFF; }
.status-ASSIGNED { color: #FF9F0A; border-color: rgba(255,159,10,0.4); background: rgba(255,159,10,0.08); }
.status-ASSIGNED .status-dot { background: #FF9F0A; }
.status-IN_PROGRESS { color: var(--orange); border-color: var(--border-orange); background: var(--orange-subtle); }
.status-IN_PROGRESS .status-dot { background: var(--orange); }
.status-COMPLETED { color: #22C55E; border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.08); }
.status-COMPLETED .status-dot { background: #22C55E; animation: none; }
.status-FAILED, .status-CANCELLED { color: #FF4444; border-color: rgba(255,68,68,0.4); background: rgba(255,68,68,0.08); }
.status-FAILED .status-dot, .status-CANCELLED .status-dot { background: #FF4444; animation: none; }

.order-id-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.order-id-label span { color: var(--text-muted); }
.order-id-label strong { font-size: 16px; font-weight: 800; color: var(--orange); font-family: monospace; }

/* ===== PROGRESS TRACK ===== */
.progress-track {
    display: flex;
    align-items: center;
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.progress-step span {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.progress-dot {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--bg-card2);
    border: 2px solid var(--border);
    transition: all 0.3s;
}
.progress-step.active .progress-dot {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 12px var(--orange-glow);
}
.progress-step.done .progress-dot {
    background: var(--orange);
    border-color: var(--orange);
}
.progress-step.active span { color: var(--orange); }
.progress-step.done span { color: var(--text-secondary); }

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    min-width: 40px;
    margin-bottom: 26px;
    transition: all 0.3s;
}
.progress-line.done { background: var(--orange); }

/* ===== ORDER DETAILS GRID ===== */
.order-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-bottom: 1px solid var(--border);
}

.detail-card {
    padding: 20px;
    border-right: 1px solid var(--border);
}
.detail-card:last-child { border-right: none; }
.detail-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.detail-value { font-size: 15px; font-weight: 600; color: var(--text-primary); }

/* ===== REQUISITE CARD ===== */
.requisite-card {
    margin: 24px 28px;
    background: var(--bg-card2);
    border: 1.5px solid var(--border-orange);
    border-radius: var(--radius);
    overflow: hidden;
}

.requisite-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--orange-subtle);
    border-bottom: 1px solid var(--border-orange);
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
}

.requisite-body { padding: 16px 20px; }
.req-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.req-field:last-child { border-bottom: none; }
.req-label { font-size: 12px; color: var(--text-muted); font-weight: 600; min-width: 80px; }
.req-value { flex: 1; font-size: 15px; font-weight: 600; }
.req-number { font-family: monospace; font-size: 18px; letter-spacing: 2px; color: var(--orange); }

.requisite-notice {
    padding: 12px 20px;
    background: rgba(255,107,0,0.05);
    border-top: 1px solid var(--border-orange);
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.requisite-notice i { color: var(--orange); }

/* ===== STATUS MESSAGE ===== */
.status-message {
    margin: 0 28px 20px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}
.status-message.show { display: flex; align-items: center; gap: 10px; }
.status-message.success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.3); color: #22C55E; }
.status-message.warning { background: var(--orange-subtle); border: 1px solid var(--border-orange); color: var(--orange-light); }
.status-message.error { background: rgba(255,68,68,0.08); border: 1px solid rgba(255,68,68,0.3); color: #FF4444; }

/* ===== RESULT ACTIONS ===== */
.result-actions {
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* ===== NOT FOUND ===== */
.order-not-found {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
}
.not-found-icon {
    font-size: 56px;
    color: #FF4444;
    margin-bottom: 20px;
    opacity: 0.8;
}
.order-not-found h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.order-not-found p { color: var(--text-secondary); margin-bottom: 28px; }

@media (max-width: 600px) {
    .status-search-card { padding: 32px 20px; }
    .search-form { flex-direction: column; }
    .order-details-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-card:nth-child(2) { border-right: none; }
    .detail-card:nth-child(3) { border-top: 1px solid var(--border); }
    .result-actions { flex-direction: column; }
    .progress-track { padding: 20px 16px; }
}