.overlay__edit {
    display: flex;
    height: 930px;
    flex-direction: column;
}

.overlay__edit--closewrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.overlay__edit--wrapper {
    flex: 1 1 auto;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: 697px;
}

.overlay__edit--selections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0; 
    bottom: 0;
    overflow-y: auto;
    padding-right: 20px; 
    box-sizing: content-box; 
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.edit__group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    gap: 8px;
}

.edit__label {
    font-size: 20px;
    color: #2A3647;
}

.edit__group--input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit__required-note {
    font-size: 12px;
    color: #FF8190;
}

.edit__input,
.edit__textarea {
    width: 100%;
    gap: 10px;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 20px;
    border: 1px solid #D1D1D1;
}

.edit__input {
    flex: 1;
    padding-right: 70px; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}

.edit__textarea {
    height: 120px;
    color: #000000;
    overflow-x: hidden;
    overflow-y: auto;
    resize: none;
}

input:focus,
textarea:focus {
    border: 1px solid #28abe2;
    outline: none; 
}

.edit__input--textblack {
    color: #000000;
}

.edit__input--textgrey::placeholder {
   color: #D1D1d1 !important;
}

.edit__wrapper-assignee,
.edit__wrapper-date,
.edit__wrapper-input {
    position: relative;
    display: flex;
    justify-content: space-between;
    
}

.edit__icon-contact,
.edit__icon-calendar,
.edit__wrapper-subtask-icons {
    position: absolute;
    right: 16px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    transform: translateY(-50%);
    cursor: pointer;
    margin-right: 16px;
}

.edit__wrapper-subtask-icons { 
    gap: 4px;  
}

.edit__icon-subtask,
.edit__icon-subtasklist {
    width: 24px;
    height: 24px;
    padding: 5px;
}

.edit__icon-contact:hover,
.edit__icon-calendar:hover,
.edit__icon-subtask:hover {
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
    background-color: #d9d9d9;
    border-radius: 50%;
}

.edit__icon-add {
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit__wrapper-priority {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
}

.edit__wrapper-assignee {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edit__input::placeholder {
    font-size: 20px
}

.edit__wrapper-list {
    max-height: 265px;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    box-shadow: 0 0px 16px rgba(0,0,0,0.05);
    transition: all 0.1s ease;
    overflow-y: auto;
}

.edit__contact-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edit__contact {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 16px;
    border-radius: 10px;
}

.edit__contact:hover {
    background-color: #eeeeee;
    cursor: pointer;
}

.edit__contact-badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 4px;
    gap: 8px;
    overflow-x: auto;
    padding-block-end: 8px;
}

.edit__contact-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    color: white;
    font-size: 12px;
    cursor: pointer;
}

.edit__contact-name {
    flex-grow: 1;
    font-size: 20px;
}

.edit__contact-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #2a2a2a;
    margin-right: 16px;
}

.edit__contact-checkbox--checked {
    background-color: #2a3547;
    color: white;
}

.edit__contact-checkbox--checked:hover {
    background-color: #081831;
}

.edit__icon-separator,
.edit__subtask-separator {
    min-width: 1px;
    height: 24px;
}

.edit__icon-separator {
    background-color: #d1d1d1;
}

.edit__subtask-separator {
    background-color: #A8A8A8;
}

.edit__subtasklist {
    width: 100%;
    list-style-position: none;
    max-height: 160px;
    overflow: auto;
}

.edit__subtask {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 6px 22px 6px 22px;
}

.edit__subtask-text {
    white-space: nowrap;        
    overflow: hidden;           
    text-overflow: ellipsis; 
    padding-right: 40px;  
}

.edit__subtask-text::before {
  content: "•";
  margin-right: 8px;
  color: #000;
  font-size: 18px;
  display: inline-block;
  transform: translateY(-1px); 
}

.edit__subtask:hover {
    width: 100%;
    background-color: #EEEEEE;
    border-radius: 15px;
    transition:  background-color 0.1s ease-in-out;
    cursor: pointer;
}

.edit__subtask.is-editing:hover {
  background-color: transparent;
}

.edit__subtask-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.edit__subtask-edit-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 4px 16px 4px 0px; 
  border-bottom: 2px solid #28abe2;
  background-color: white;
}

.edit__subtask-input {
  flex: 1;
  width: 100%;
  border: none;
  background-color: transparent;
  outline: none;
  font-size: 16px;
  padding-right: 40px; 
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis; 
}

.edit__subtask-icons{
    display: none;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
    gap: 4px;
    padding-right: 4px; 
}

.right-padding {
    padding-right: 32px;
}

.edit__subtask:hover .edit__subtask-icons { 
    display: flex;
}

.edit__icon-subtasklist img {
    height: 16px;
}

.edit__icon-subtasklist:hover {
    transition: transform 0.1s ease-in-out;
}

li:hover {
    background-color: #081831         
}
