.trx-container {
    max-width: 1140px;
    margin: 0 auto;
    /* padding: 40px 20px; */
    font-family: 'Poppins', sans-serif;
}

.trx-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    padding: 24px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.trx-card:hover {
    transform: translateY(-4px);
}

.trx-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.trx-id {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.trx-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.trx-status.completed {
    background-color: #d4edda;
    color: #155724;
}

.trx-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.trx-status.active {
    background-color: #cce5ff;
    color: #004085;
}

.trx-status.cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.trx-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.trx-image {
    width: 240px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.trx-info {
    flex: 1;
    min-width: 200px;
}

.trx-car-model {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: #222;
}

.trx-car-type {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.trx-date-info {
    margin-top: 10px;
}

.trx-label {
    font-size: 0.8rem;
    color: #999;
    margin-right: 5px;
}

.trx-value {
    font-weight: 500;
    color: #444;
}

.trx-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.trx-total {
    font-weight: 700;
    color: #f35525;
    font-size: 1rem;
}

.trx-actions {
    margin-top: 12px;
    text-align: right;
}

.trx-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    margin-left: 10px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.trx-btn.view {
    background-color: #f35525;
    color: white;
}

.trx-btn.invoice {
    background-color: #6c757d;
    color: white;
}

.trx-btn.continue {
    background-color: #ffc107;
    color: #212529;
}

.trx-filter {
    margin-bottom: 25px;
}

.trx-filter button {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.trx-filter .active {
    background-color: #f35525;
    color: white;
    border: none;
}

.trx-btn.invoice:hover {
    background-color: #5a5a5a; /* orange lebih terang */
}

.trx-btn.continue:hover {
    background-color: #e0a800; /* versi lebih gelap dari kuning */
} 

.trx-btn.view:hover {
    background-color: #ff6d3d;
}

@media (max-width: 768px) {
    .trx-details {
        flex-direction: column;
    }

    .trx-image {
        align-self: center;
        width: 100%;
        height: auto;
        max-height: 160px;
        max-width: 240px;
    }

    .trx-summary {
        flex-direction: column;
        gap: 10px;
    }
}