body {
    background-color: #282b30;
    color: #c1c5c9;
    font-family: 'Inter', sans-serif;
}

.list_header {
    text-decoration: underline;
    text-align: center;
    margin-bottom: 30px;
}

.list_container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 150px;
    margin-top: 10px;
}

.list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

input {
    background-color: transparent;
    border-color: #c1c5c9;
    border-radius: 8px;
    color: #c1c5c9;
}

input:focus {
    outline: 1px solid transparent; /* or whatever accent color */
    outline-offset: 2px;
    border-radius: 8px;
}

table, th, td {
    border: 1px solid black;
    border-collapse:collapse;
    border-color: #282b30;
}

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#action_modal {
    position: absolute;
    display: block;
    top: 40%;
    left: 50%;
    padding: 10px;
    background-color: transparent;
    border-radius: 4px;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.autocomplete_list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: transparent;
    border-radius: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.autocomplete_list li {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.autocomplete_list li img {
    width: 40px;
    height: 60px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
}

.autocomplete_list li:hover {
    background-color: #404040;
}

.autocomplete_list li.active {
    background-color: #e0e0e0;
}

.action_images {
    border: none;
    cursor: pointer;
    appearance: none;
    width: 15px;
    height: 15px;
}

.delete_button, .edit_button, .more_button, .add_button {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 20px;
    background-color: #555a5c;
    transition: background-color 0.2s;
}

.list_row_action_buttons {
    display: grid;
    justify-content: space-between;
}

.table_list_header {
    display: flex;
    text-align: left;
    width: 100px
}

.list_header_buttons {
    display: flex;
    flex-grow: 1;
    justify-content: space-evenly;
}

.sort_button, .filter_button {
    cursor: pointer;
    border: none;
    padding: 0px;
    background-color: transparent;
}

.sort_button_images {
    border: none;
    cursor: pointer;
    width: 16px;
    height: 13px;
}

.sort_dropdown, .filter_dropdown {
    padding: 0px;
}

.filter_button_images {
    border: none;
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.filter_dropdown_content, .sort_dropdown_content {
    display: none;
    position: absolute;
    background-color: #353a45;
    min-width: 130px;
    border: solid;
    border-color: #c1c5c9;
    border-width: 4px;
    border-radius: 30px;
    z-index: 100;
    padding: 15px;
    flex-direction: column;
    text-align: center;
}

.filter_dropdown_content li, .sort_dropdown_content li {
    object-fit: cover;
    list-style-type: none;
    padding: 10px;
    border-radius: 20px;
    transition: background-color 0.1s;
}

.filter_dropdown_content li:hover, .sort_dropdown_content li:hover {
    background-color: #252a2e;
    cursor: pointer;
}

.filter_button:focus, .sort_button:focus {
    outline: none;
}

.sort_dropdown_content_header li:hover {
    cursor: auto;
    background-color: transparent;
}

#action_submit, #action_cancel {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    height: 20px;
    background-color: #555a5c;
    transition: background-color 0.2s;
}

.delete_button:hover, .edit_button:hover, .more_button:hover, .add_button:hover, #action_submit:hover, #action_cancel:hover{
    background-color: #c2c2c2;
}


#info_modal {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background-color: #282b30;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,.7);
    width: 1000px;
    z-index:1001;
}

#more_info_modal_left, #more_info_modal_right {
    margin: 10px;
    padding: 20px;
    font-size: 24px;
}

.more_button:focus {
    outline: none;
}

.close_more_info_button {
    position: absolute;
    top: 12px;
    right: 12px;
    height: 15px;
    width: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
}

.close_more_info_image {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
