.custom-checkbox {
    width: 80%;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

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

.custom-checkbox input:checked~.checkmark {
    background-color: #fff;
}

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

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 2px;
    top: -0.5px;
    width: 5px;
    height: 8px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(40deg);
}

.closeEditTask {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.editTaskInfo {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 20px;
}

.titleInput {
    height: 48px;
    display: flex;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 21px 12px;
    box-sizing: border-box;
    align-items: center;
    width: 100%;
}

.editTitle {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.titleInput input {
    width: 100%;
    justify-content: space-between;
    border: none;
    padding: 4px 0px;
    font-size: 20px;
}

textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border);
    outline: none;
    height: 120px;
    resize: none;
    border-radius: 10px;
    padding: 18px 16px;
    font-size: 20px;
    font-family: "inter", Arial, sans-serif;
}

#editPriorityButtons {
    display: flex;
    justify-content: space-between;

    flex-direction: row;
    gap: 16px
}

.urgent {
    background-color: var(--high);
    color: white;
}

.urgent img {
    content: url('../assets/img/png/urgentWhite.png');
}

.medium {
    background-color: var(--medium);
    color: white;
}

.medium img {
    content: url('../assets/img/svg/medium.svg')
}

.low {
    background-color: var(--low);
    color: white;
}

.low img {
    content: url('../assets/img/png/lowWhite.png')
}

.openedAssigendContactsArea {
    overflow-y: scroll;
    max-height: 162px;
}

.openedAssigendContacts {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 16px;
}

.openedAssigendContactsInitials {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    border: 1px white solid;
}

.editAssignContacts {
    box-sizing: border-box;
    height: 48px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 16px 12px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
}



.editAssignedTo {
    background-color: var(--gray);
    color: white;
}

.dropUpImg {
    height: 8px;
    width: 12px;
    transform: rotate(180deg);
}
.dropDownImg {
    height: 8px;
    width: 12px;
}

.contactsToChoose {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    height: 150px;
    overflow-y: scroll;
}

.contactToChoose {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px;
    border-radius: 10px;
}

.contactToChoose:hover {
    background-color: var(--background);
    cursor: pointer;
}

.contactIsAssigned:hover {
    background-color: #091931;
    cursor: pointer;
}

.subtaskAdd {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.subtaskAdd img {
    width: 24px;
    height: 24px;
}

.subtaskAdd img:hover {
    background-color: var(--background);
    border-radius: 50%;
}

.addSubtask {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    background-color: white;
    border-radius: 10px;
    align-items: center;
    padding: 4px;
    border-bottom: 1px solid var(--blue);
}



.addSubtask input {
    border: none;
    font-size: 20px;
    box-sizing: border-box;
}

.addSubtask img {
    cursor: pointer;
}

.error-placeholder::placeholder {
    color: red;
}

.error-container {
    border: 2px solid red;
}

.error-placeholder {
    color: red;
}

#newSubtasks {
    border-radius: 10px;
    max-height: 110px;
    overflow: auto;
}

.editSubtask {
    box-sizing: border-box;
    background-color: white;
    border: 1px solid var(--border);
    padding: 4px;
    display: flex;
    border-radius: 10px;
    cursor: pointer;
    z-index: 99;
}
.addTaskBoardEdit{
    width: 100%;
}
.editSubtaskInput{
    display: flex;
    width: 100%;
}

.editSubtask input {
    background-color: var(--background);
    padding-left: 10px;
    border-radius: 10px 0px 0px 10px;
}

.showedSubtask {
    box-sizing: border-box;
    width: 100%;
    cursor: pointer;
    padding: 10px;
    background-color: var(--background);
    display: flex;
    justify-content: space-between;
}

.editOkay {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.editOkay span {
    display: flex;
    padding: 16px;
    background-color: var(--gray);
    margin-top: 24px;
    border-radius: 10px;
    color: white;
    gap: 4px;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
}

.editOkay span:hover {
    background-color: var(--blue);
    cursor: pointer;
    box-shadow: 0px 0px 4px 0px gray;
}

.subtask-container {
    margin-bottom: 6px;
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.subtask-container:hover {
    background-color: #f0f0f0;
}

.subtask-title {
    flex-grow: 1;
}

.subtask-actions {
    display: flex;
    gap: 2px;
}

ul {
    margin: 0;
    list-style: none;
    padding: 0px;
    gap: 2px;
}

.contentHeaderMobile{
    display: none;
}