/* Updated CSS for a lighter and more balanced theme */

body {
    background-color: #f4f4f4; /* Light gray background */
    color: #333333; /* Dark gray text */
    font-family: 'Arial', sans-serif;
    background-size: cover;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f4f4f4; /* Light gray */
}

.footer {
    padding: 10px 0;
    background-color: #333333; /* Medium gray */
    color: #f4f4f4; /* Light gray */
}

.container {
    max-width: 960px;
    margin: 0 auto;
    background-color: #ffffff; /* White background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Light shadow */
}

h1, h2 {
    color: #333333; /* Dark gray */
    font-weight: bold;
    margin-bottom: 20px;
}

.table {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark gray text */
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Light shadow */
}

.table th, .table td {
    vertical-align: middle;
    color: #333333; /* Dark gray text */
}

.btn-primary {
    background-color: #007bff; /* Soft blue */
    border-color: #007bff;
    color: #ffffff; /* White text */
}

.btn-primary:hover {
    background-color: #0056b3; /* Darker blue */
    border-color: #004085;
}

.btn-danger {
    background-color: #dc3545; /* Soft red */
    border-color: #dc3545;
    color: #ffffff; /* White text */
}

.btn-danger:hover {
    background-color: #c82333; /* Darker red */
    border-color: #bd2130;
}

/* Autocomplete dropdown styling */
.ui-autocomplete {
    z-index: 1000;
    background-color: #ffffff; /* White background */
    border: 1px solid #cccccc;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Light shadow */
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin-top: 2px;
}

.ui-autocomplete .ui-menu-item {
    border-bottom: 1px solid #dddddd;
    padding: 10px;
}

.ui-autocomplete .ui-menu-item-wrapper {
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
}

.ui-autocomplete .ui-menu-item-wrapper div {
    display: flex;
    flex-direction: column;
}

.ui-autocomplete .ui-menu-item-wrapper div strong {
    font-size: 16px;
    color: #333333; /* Dark gray text */
}

.ui-autocomplete .ui-menu-item-wrapper div span {
    font-size: 14px;
    color: #555555; /* Medium gray text */
}

.ui-autocomplete .ui-menu-item-wrapper div small {
    font-size: 12px;
    color: #777777; /* Light gray text */
}

/* Scrollbar styling */
.ui-autocomplete {
    scrollbar-width: thin;
    scrollbar-color: #cccccc #ffffff; /* Light gray scrollbar */
}

.ui-autocomplete::-webkit-scrollbar {
    width: 10px;
}

.ui-autocomplete::-webkit-scrollbar-track {
    background-color: #ffffff; /* White track */
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background-color: #cccccc; /* Light gray thumb */
    border-radius: 10px;
}

.ui-autocomplete::-webkit-scrollbar-thumb:hover {
    background-color: #aaaaaa; /* Darker gray on hover */
}
.ui-helper-hidden-accessible {
    display: none;
}
/* Add this to your styles.css */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* for smooth scrolling on touch devices */
}

.table-responsive > .table {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .table th, .table td {
        white-space: nowrap;
    }

    .table td:last-child {
        width: 100px; /* Adjust based on your needs */
    }
}
