/* === REPAIR MODULE PREMIUM STYLES === */

.repair-ticket-id {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* Repair Modal Specifics */
.rc-input-premium {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.rc-input-premium:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 118, 189, 0.1);
    background: white;
    outline: none;
}

/* Stats Badges in Repairs (GLOW PILLS) */
.status-badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-status-recibido {
    background: #fef9c3 !important;
    color: #854d0e !important;
    border: 1.5px solid #fde047 !important;
}

.badge-status-en_reparacion {
    background: #dbeafe !important;
    color: #1e40af !important;
    border: 1.5px solid #bfdbfe !important;
}

.badge-status-listo {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1.5px solid #bbf7d0 !important;
}

.badge-status-entregado {
    background: #f8fafc !important;
    color: #64748b !important;
    border: 1.5px solid #e2e8f0 !important;
}

/* Reparaciones Details Layout */
.repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* IMEI Tracking UI */
.imei-status-container {
    position: relative;
    display: flex;
    align-items: center;
}

.imei-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

/* SWAL REPAIR BUTTONS (NUCLEAR FIX) */
.swal2-repair-actions .swal2-actions {
    gap: 12px;
}

.btn-citycell-primary {
    background: var(--primary) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
}

/* History Timeline */
.history-timeline {
    position: relative;
    padding-left: 20px;
    border-left: 2px dashed #e2e8f0;
    margin-left: 10px;
}

.history-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.history-card:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

/* Premium Repair Part Cards */
.rc-part-premium-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    display: block;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.rc-part-premium-card:hover {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.rc-part-premium-card .part-meta {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.rc-part-premium-card .part-device {
    font-size: 0.85rem;
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 0px;
    line-height: 1.2;
}

.rc-part-premium-card .part-desc {
    font-size: 0.75rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.4;
}

.rc-part-premium-card .part-price {
    font-size: 0.95rem;
    font-weight: 950;
    color: var(--primary);
    margin-top: 4px;
}

.rc-part-premium-card .btn-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.rc-part-premium-card .btn-remove:hover {
    transform: scale(1.2);
}