/* Custom MyShopView Styles - Ported from PHP mystyle.php */

#editWOForm {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

#editWOForm form {
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 40%;
    border-radius: 10px;
}

.tables-container {
    display: flex;
    justify-content: space-between;
    width: 50%;
}

.small-font {
    font-size: 0.8em;
}

.right-align {
    float: right;
}

.left-align {
    float: left;
}

.kanban-board header {
    font-size: 16px;
    padding: 10px;
    border-radius: 10px;
    border: 5px solid black;
}

.kanban-board .kanban-drag {
    min-height: 150px;
    padding: 7px;
}

.kanban-item {
    padding-top: 4px;
    margin-top: 2px;
    height: 55px;
    overflow: hidden;
    margin-bottom: 6px;
    border-radius: 10px;
    padding-left: 7px;
    padding-right: 7px;
    border: 5px solid #f4cb40;
}

.board-title-link {
    text-decoration: none;
    color: inherit;
}

#boardSelect {
    margin: 10px;
    border-radius: 4px;
    border: 2px solid black;
    height: 32px;
    padding: 2px 8px;
}

#jobSelect {
    margin: 10px;
    border-radius: 4px;
    border: 2px solid black;
}

.padding-horizontal {
    padding-left: 2px;
    padding-right: 7px;
}

.close-button {
    right: 10px;
    top: 10px;
    float: right;
}

.circle-icon-green {
    display: inline-block;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    float: right;
    background-color: #28a745;
    vertical-align: middle;
}

.circle-icon-red {
    display: inline-block;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    float: right;
    background-color: #dc3545;
    vertical-align: middle;
}

.col-sm.p-3.min-vh-100 {
    height: calc(100vh - NavbarHeight);
    overflow-y: auto;
}

#fileUploadModal .file-list {
    margin-top: 20px;
}

.fifo-label {
    position: relative;
    padding-left: 38px;
    cursor: pointer;
    font-size: 22px;
    user-select: none;
    display: flex;
    align-items: center;
    height: 32px;
    margin: 10px 8px;
}

.fifo-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 28px;
    width: 28px;
    background-color: #eee;
    border-radius: 4px;
    border: 2px solid black;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.fifo-label input:checked ~ .checkmark:after {
    display: block;
}

.fifo-label .checkmark:after {
    left: 10px;
    top: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.fifo-label input[type="checkbox"] {
    align-self: center;
}

.open-target-date-modal {
    text-decoration: none;
    color: black;
}

.target-date-icon {
    float: right;
    padding-left: 5px;
}

.right-justify {
    position: absolute;
    right: 15px;
}

#trashContainerTable {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.trash-icon {
    font-size: 50px;
    cursor: pointer;
    border: 2px dashed red;
    padding: 10px;
    border-radius: 10px;
}

/* Arrow icons for kanban */
.arrow-left,
.arrow-right {
    cursor: pointer;
    color: #007bff;
    text-decoration: none;
}

.arrow-left:hover,
.arrow-right:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Light yellow background for custom myview selections */
.light-yellow {
    background-color: #ffffcc !important;
}

/* Custom dropdown for job filter - from myshopview.php */
.custom-dropdown {
    margin: 10px 8px;
    border-radius: 4px;
    border: 2px solid black;
    background-color: #fff;
    width: 300px;
    position: relative;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
    height: 32px;
    display: flex;
    align-items: center;
}

.selected-option {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid black;
    border-radius: 4px;
    background-color: #fff;
    list-style: none;
    margin: 0;
    margin-top: 2px;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-options li {
    padding: 2px 8px;
    cursor: pointer;
    font-size: 16px;
}

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