.contact-container {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 16px;
    border-radius: 10px;
    margin-bottom: 2px;
}

.contact-container:hover {
    background: #D2E3FF;
    border-radius: 10px;
}

.select-contact {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.select-icon {
    width: 24px;
    height: 24px;
}

.contact-container.selected {
    background-color: #4589FF;
    border-radius: 10px;
    color: white;
    color: white;
}

.contact-container.selected .select-icon {
    content: url('../img/check_contact.png');
}

.contact-container.selected:hover {
    background: #005DFF;
}

.initial {
    box-sizing: border-box;
    display: flex;
    width: 42px;
    height: 42px;
    padding: 10px 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 45px;
    border: 1px solid #FFF;
    color: white;
}

.category-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.category-header {
    color: #42526E;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.category-choicefield {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: var(--white, #FFF);
}

.category-dropdown {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--style, #D1D1D1);
}

.loaded-contacts {
    display: none;
    width: 100%;
    overflow-y: scroll;
    height: 250px;
}

.loaded-categories {
    display: none;
    width: 100%;
    overflow-y: scroll;
    height: 90px;
}

.chosen-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category,
.select-name {
    cursor: pointer;
    padding: 12px 16px;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.category:hover {
    background: #D2E3FF;
    border-radius: 10px;
}

.select-text {
    width: 100%;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    border: none;
    color: black;
    cursor: pointer;
}

.dropdown-arrow {
    width: 24px;
    height: 24px;
    background-image: url('../img/arrow_dropdown_down.png');
    background-size: cover;
    transition: background-image 0.1s ease-in-out;
}

.dropdown-arrow:hover {
    background-image: url('../img/arrow_dropdown_down_hover.png');
}

.category-dropdown.expanded .dropdown-arrow {
    background-image: url('../img/arrow_dropdown_up.png');
}

.category-dropdown.expanded .dropdown-arrow:hover {
    background-image: url('../img/arrow_dropdown_up_hover.png');
}

.contacts-container {
    display: none;
    width: 100%;
}

.add-person-btn {
    display: flex;
    width: 97%;
    height: 56px;
    padding: 16px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid var(--version-2-main-color, #4589FF);
    background: var(--version-2-main-color, #4589FF);
    color: var(--white, #FFF);
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    cursor: pointer;
    margin: 5px 0;
}

.add-person-btn:hover {
    background: #005DFF;
}

.add-person-btn:active {
    background-color: #FFFFFF;
    color: var(--bg-color, #4589FF);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.add-person-btn:active .button-icon {
    content: url('../img/person_add_active.png');
}

.subtasks-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.subtasks-header {
    color: #42526E;
    font-size: 19px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.add-subtask-input {
    display: flex;
    padding: 12px 16px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-bottom: 1px solid var(--style, #D1D1D1);
    background: #FFF;
    cursor: pointer;
}

.new-subtask-textfield {
    color: black;
    font-size: 19px;
    font-family: 'Open sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    border: none;
    cursor: pointer;
    width: 100%;
}

.new-subtask-textfield::placeholder {
    color: var(--style, #D1D1D1);
}

.new-subtask-textfield:focus {
    outline: none;
    border: none;
}

.open-subtask-button {
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.open-subtask-button:hover {
    content: url('../img/open_subtask_hover.png');
}

.add-subtask-button {
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#closeSubtask:hover {
    content: url('../img/close_subtask_hover.png');
}

#addNewSubtask:hover {
    content: url('../img/add_subtask_hover.png');
}

.separator {
    display: none;
    opacity: 0.2;
}

.hidden {
    display: none;
}

.subtask-add-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.subtask-container {
    display: flex;
    align-items: center;
}

.subtask-container:hover {
    background: #D2E3FF;
    border-radius: 8px;
}