/* מיכל ראשי */
.prt-tracker-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* טופס חיפוש */
.prt-tracker-form {
    text-align: center;
    margin-bottom: 30px;
}

.prt-tracker-form h2 {
    margin-bottom: 20px;
    color: #333;
}

.prt-tracker-form .form-group {
    margin-bottom: 15px;
}

.prt-tracker-form input[type="text"] {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    direction: ltr;
}

.prt-tracker-form button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.prt-tracker-form button:hover {
    background-color: #005177;
}

/* תוצאות */
.ticket-info {
    margin-bottom: 30px;
}

.ticket-details {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.ticket-details th,
.ticket-details td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: right;
}

.ticket-details th {
    width: 30%;
    color: #666;
}

/* סטטוס */
.ticket-status {
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
}

.status-pending {
    background-color: #f0f0f0;
    color: #666;
}

.status-in_progress {
    background-color: #e5f5ff;
    color: #0073aa;
}

.status-waiting_parts {
    background-color: #fff8e5;
    color: #d87f00;
}

.status-completed {
    background-color: #e7f7e5;
    color: #2fb344;
}

.status-cancelled {
    background-color: #ffe5e5;
    color: #dc3232;
}

/* היסטוריית סטטוסים */
.ticket-history {
    margin-top: 30px;
}

.status-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    position: relative;
    padding: 15px 30px;
    border-right: 2px solid #ddd;
    margin-bottom: 15px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -7px;
    top: 20px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #0073aa;
    border-radius: 50%;
}

.timeline-item .status-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.timeline-item .status-notes {
    color: #333;
    margin-top: 5px;
}

/* הודעת שגיאה */
.error-message {
    background-color: #ffe5e5;
    color: #dc3232;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

/* תמיכה ב-RTL */
body.rtl .timeline-item {
    border-right: none;
    border-left: 2px solid #ddd;
    padding: 15px 0 15px 30px;
}

body.rtl .timeline-item::before {
    right: auto;
    left: -7px;
} 