table img {
    max-width: 50px;
    /* Adjust the width */
    max-height: 50px;
    /* Adjust the height */
    width: auto;
    height: auto;
}

/* PAGINATION STYLE ARJESMRNT  */

/* Your CSS styles here */
table {
    width: 100%;
    border-collapse: collapse;
}

/* Sidebar styles */
#sidebar {
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    background: #333;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
    /* Hidden state */
}

/* Content when sidebar is open */
#content {
    transition: all 0.3s;
    /* Smooth transition */
    margin-left: 250px;
    /* Adjust the margin to align with the sidebar width */
}

#content.sidebar-closed {
    margin-left: 0;
    /* No margin when sidebar is closed */
}

/* Optional: Adjust width to keep things centered */
#content.transition {
    max-width: 100%;
}

#fuel-tank-charts {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

#fuel-tank-charts canvas {
    width: 45% !important;
    height: 300px !important;
}

.pb-20 {
    padding-bottom: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}


.detail-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.detail-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.detail-card .card-header {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 20px;
    border: none;
}

.detail-card .card-header h4 {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.detail-card .card-header h4 i {
    margin-right: 10px;
    font-size: 1.2em;
}

.info-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

.currency-value {
    color: #28a745;
    font-weight: 700;
}

.currency-value.negative {
    color: #dc3545;
}

.currency-value.warning {
    color: #ffc107;
}

.summary-stats {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-value {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    font-weight: 600;
}

.expense-table {
    margin-top: 20px;
}

.expense-table .table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.expense-table .table thead {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.expense-table .table thead th {
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 15px;
}

.expense-table .table tbody tr {
    transition: all 0.3s ease;
}

.expense-table .table tbody tr:hover {
    background-color: #f8f9ff;
    transform: scale(1.01);
}

.badge-custom {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profit-indicator {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    margin-top: 10px;
}

.profit-positive {
    background: linear-gradient(45deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.profit-negative {
    background: linear-gradient(45deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
}

.action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-value {
        margin-top: 5px;
    }

    .stat-item {
        margin-bottom: 20px;
    }
}