/* General container styles */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Button styles */
.btn-success {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-success:hover {
    background-color: #218838;
}

/* Form input styles */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Label styles */
.form-label {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Flexbox styles for layout */
.d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-grp {
    display: flex;
    align-items: center;
}

/* Column styles */
.col-sm-4, .col-sm-12 {
    padding: 10px;
}

/* Row styles */
.row {
    margin-bottom: 15px;
}

/* Data list styles */
datalist {
    margin-top: 5px;
}

/* Message styles */
.message {
    font-size: 14px;
    color: #555;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .col-sm-4, .col-sm-12 {
        flex: 1 1 100%;
    }
}

.expense-report {
    border: 2px solid #007BFF; /* Border color */
    border-radius: 10px; /* Rounded corners */
    background-color: #f9f9f9; /* Light background color */
    padding: 20px; /* Padding inside the box */
    margin: 20px; /* Margin around the box */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.report-title {
    font-size: 1.5em; /* Title size */
    font-weight: bold; /* Title weight */
    margin-bottom: 15px; /* Space below the title */
    color: #007BFF; /* Title color */
    text-align: center; /* Center the title */
}

.expense-item {
    display: flex; /* Flexbox for alignment */
    justify-content: space-between; /* Space between label and value */
    padding: 10px 0; /* Vertical padding for items */
    border-bottom: 1px solid #ddd; /* Divider line between items */
}

.expense-item:last-child {
    border-bottom: none; /* Remove border from last item */
}

.expense-label {
    font-weight: 600; /* Bold labels */
    color: #333; /* Label color */
}

.expense-value {
    font-weight: 500; /* Regular weight for values */
    color: #555; /* Value color */
}

.tyre-input {
    width: 60px; /* Set a width for the input */
    margin-left: 10px; /* Space between text and input */
}

/* For places suggestions*/
.dropdown-suggestions {
    border: 1px solid #ccc;
    background-color: #fff;
    max-width: 300px;
    position: absolute;
    z-index: 1000;
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
}

.scrollable {
    max-height: 150px;  /* Set height to create scrolling effect */
    overflow-y: auto;   /* Enable vertical scrolling */
}

.scrollable-list {
    max-height: 200px; /* Adjust height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #ccc; /* Optional border for better visibility */
    border-radius: 4px; /* Rounded corners */
    padding: 10px; /* Padding inside the list */
    margin-top: 10px; /* Space above the list */
}

.btn-grp {
    width: 100%; /* Full width for buttons */
}

.list-group-item {
    cursor: pointer; /* Show pointer cursor on hover */
}

.list-group-item:hover {
    background-color: #f1f1f1; /* Change background on hover */
}