.manus-ot-wrapper {
    max-width: 800px;
    margin: 20px auto;
    font-family: inherit;
    direction: rtl;
}

.manus-ot-search-form {
    margin-bottom: 30px;
}

.manus-ot-search-input-group {
    display: flex;
    gap: 10px;
}

.manus-ot-search-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.manus-ot-search-input-group button {
    padding: 12px 25px;
    background-color: #d61f1f;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.manus-ot-search-input-group button:hover {
    background-color: #b01a1a;
}

.manus-ot-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #f5c6cb;
    margin-top: 20px;
}

.manus-ot-result {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.manus-ot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.manus-ot-header h3 {
    margin: 0;
    font-size: 20px;
}

.manus-ot-status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.status-pending-review { background: #fff3cd; color: #856404; }
.status-processing { background: #d1ecf1; color: #0c5460; }
.status-completed { background: #d4edda; color: #155724; }
.status-on-hold { background: #e2e3e5; color: #383d41; }
.status-cancelled, .status-failed { background: #f8d7da; color: #721c24; }

.manus-ot-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.manus-ot-info-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.manus-ot-info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.manus-ot-info-item span {
    font-size: 18px;
    font-weight: bold;
}

.manus-ot-section {
    margin-bottom: 25px;
}

.manus-ot-section h4 {
    border-right: 4px solid #d61f1f;
    padding-right: 10px;
    margin-bottom: 15px;
}

.manus-ot-table {
    width: 100%;
    border-collapse: collapse;
}

.manus-ot-table th, .manus-ot-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.manus-ot-table th {
    background: #f8f8f8;
    font-weight: bold;
}

.manus-ot-summary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.manus-ot-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.manus-ot-summary-row.highlight {
    border-top: 2px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
    color: #d61f1f;
}

.manus-ot-footer {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .manus-ot-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .manus-ot-info-grid {
        grid-template-columns: 1fr;
    }
    .manus-ot-search-input-group {
        flex-direction: column;
    }
}
