
#batch-planning-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
    user-select: none;
    overflow-x: auto;
}

#batch-planning-container .batch-planning-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-right: 1em;
    overflow-y: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    position: relative;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
    min-width: 25rem;
}

#batch-planning-container .batch-planning-column .batch-planning-column-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: var(--blue-gray);
    border-radius: 1.5rem;
    padding: 0.5rem 2rem;
    margin: 0 0.75rem;
    box-shadow: var(--soft-continer-outer-shadow);
}

#batch-planning-container .batch-planning-column .batch-planning-column-header span {
    margin-left: 0.25em;
    color: var(--gray);
    font-size: var(--font-size-normal);
}

#batch-planning-container .batch-planning-column .batch-planning-column-header svg {
    color: var(--black);
    cursor: pointer;
    font-size: 1.5em;
    transition: transform linear 0.1s, color linear 0.1s;
}

#batch-planning-container .batch-planning-column .batch-planning-column-header svg:hover {
    color: var(--primary-green);
}

#batch-planning-container .batch-planning-column .batch-planning-column-header svg:active {
    transform: scale(0.8);
}

#batch-planning-container .batch-planning-column .batch-planning-column {
    width: 100%;
    overflow-y: visible;
    overflow-x: hidden;
    height: 100%;
    margin: 0;
    align-items: center;
}


.pill-radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* IMAGE STYLES */
.pill-radio-group [type="radio"] + status-pill {
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* CHECKED STYLES */
.pill-radio-group [type="radio"]:checked + status-pill {
    scale: 1.2;
}

.pill-radio-group {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

sl-details #add-comment {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

sl-details #add-comment label {
    cursor: pointer;
}

#add-comment input[type="submit"] {
    display: none;
}

#add-checklist-item input[type="submit"] {
    display: none;
}

#checklist-section {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    padding: 0.25em 1em;
    margin-top: 5px;
    margin-bottom: 1em;
    cursor: default;
}

#checklist-section .checklist-item {
    display: flex;
    outline: 1px solid var(--border-color);
    padding: 0.5em 1em;
    border-radius: 5px;
    align-items: center;
    justify-content: space-between;
}

#checklist-section .checklist-item .checklist-item-content {
    display: flex;
    align-items: center;
    gap: 1em;
}

#checklist-section .checklist-item .checklist-item-info-icon {
    align-items: center;
    display: flex;
}

#checklist-section .checklist-item .checklist-item-info-icon svg{
    width: 1.5em;
    height: 1.5em;
}

#checklist-section label {
    font-size: var(--font-size-medium);
    text-overflow: ellipsis;
    overflow: hidden;
}

#checklist-section .checklist-item input[type="checkbox"] {
    min-width: 16px;
    min-height: 16px;
}

/*When the `.checklist-item input[type="checkbox"]` is checked, set opacity of `checklist-item` to 0.5*/
#checklist-section .checklist-item input[type="checkbox"]:checked ~ label {
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}

@keyframes strike {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

#checklist-section .checklist-item input[type="checkbox"]:checked ~ label {
    position: relative;
}

#checklist-section .checklist-item input[type="checkbox"]:checked ~ label::after {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--black);
    animation-name: strike;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}


sl-details #add-checklist-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

sl-details #add-checklist-item label {
    cursor: pointer;
}


/* Disable all the inputs inside of the #planning-modal-container if it has the attribute `task-archived`*/
/*#planning-modal-container[task-archived] input,*/
/*#planning-modal-container[task-archived] textarea,*/
/*#planning-modal-container[task-archived] sl-textarea,*/
/*#planning-modal-container[task-archived] select {*/
/*    pointer-events: none;*/
/*    background-color: var(--disabled-gray);*/
/*}*/


/*#planning-modal-container {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    border-radius: 1rem;*/
/*    background-color: var(--plain-white);*/
/*    width: 50%;*/
/*    padding: 1rem 2rem 2rem 2rem;*/
/*    max-height: 80%;*/
/*    overflow-y: auto;*/
/*}*/

/*#planning-modal-container hr {*/
/*    margin: 1rem 0;*/
/*}*/

/*#planning-modal-container #buttons {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: space-around;*/
/*}*/

/*#planning-modal-container sl-details {*/
/*    margin-bottom: 1rem;*/
/*    cursor: pointer;*/
/*}*/

.batch-task-card {
    display: flex;
    flex-direction: column;
    background-color: var(--blue-gray);
    box-shadow: var(--soft-continer-outer-shadow);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 1rem 1.5rem;
    font-family: inherit;
    width: 95%;
    gap: 5px;
    user-select: none;
    transition: 0.3s ease-in-out;
}

.batch-task-card.overdue {
    border-left: 2px solid var(--danger-red);
}

.batch-task-card .batch-task-card-title, .batch-task-card .footer-element{
    cursor: pointer;
    pointer-events: unset;
}

.batch-task-card:hover {
    transform: translateY(-2.5%);
    box-shadow: var(--soft-hover-continer-outer-shadow);
}

.batch-task-card-title {
    font-size: var(--font-size-medium);
    font-weight: 600;
    color: var(--black);
    font-family: inherit;
}

.batch-task-card-body {
    font-size: var(--font-size-small);
    color: var(--gray);
    padding: 5px 0;
}

.batch-task-card-body textarea {
    border: none;
    outline: none;
    font-size: var(--font-size-normal);
    color: var(--global-font-color);
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    resize: none;
    letter-spacing: 0px;
    font-family: inherit;
    padding: 0;
    margin: 0;
    background-color: transparent;
    pointer-events: none;
}


.batch-task-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-small);
    color: var(--black);
    gap: 10px;
}

.batch-task-card-footer > * {
    max-width: 30%; /* Prevents the item from growing beyond this width */
    text-align: center; /* Optional: if you want the content of each child to be centered */
}

.batch-task-card-dates {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-small);
    color: var(--gray);
}

.batch-task-card-dates > div {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.batch-task-card-dates .due-date {
    display: flex;
    flex-direction: row;
    margin-top: 2.5px;
    gap: 5px;
}

.batch-task-card-dates p {
    margin: 0;
}

.batch-task-card-footer .footer-element {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.25em 0.75em;
    border-radius: 1em;
    justify-content: center;
}

#assigned-to-images {
    justify-content: flex-start;
}

#assigned-to-images svg:nth-of-type(2){
    transform: translateX(-50%);
    z-index: 4;
}

#assigned-to-images svg:nth-of-type(3){
    transform: translateX(-100%);
    z-index: 5;
}

#assigned-to-images svg:nth-of-type(4){
    transform: translateX(-150%);
    z-index: 6;
}

.recurring-inside-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.recurring-config-container{
    display: flex;
    flex-direction: column;
    width: 40%;
}

#planning-archived-table{
    min-width: 60vw;
    min-height: 50vh;
}

.comment-container {
    display: flex;
    font-family: inherit;
    align-items: center;
    padding: 2.5px;
    background-color: transparent;
    transition: background-color 0.15s ease;
    margin-bottom: 5px;
    margin-top: 5px;
    cursor: auto;
}
/* on hover */
.comment-container:hover {
    background-color: var(--hover-gray);
    border-radius: 5px;
}
.comment-icon {
    margin-right: 10px;
    flex-shrink: 0;
    align-self: start;
}
.comment-icon svg {
    width: 32px;
    height: 32px;
}
.comment-header {
    display: flex;
    font-family: inherit;
    align-items: baseline;
}
.comment-name {
    font-weight: 600;
    font-family: inherit;
    margin-right: 8px;
}
.comment-time {
    color: var(--light-gray);
    font-family: inherit;
    font-size: 0.85em;
}
.comment-body {
    font-family: inherit;
    margin-top: 4px;
}
.delete-comment {
    opacity: 0;
    position: relative;
    right: auto;
    margin-left: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-right: 1rem;
}
.comment-container:hover > .delete-comment {
    opacity: 1;
}