/* Global styles */
input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #2A3647 !important;
}

.open-card-background {
    background-color: rgba(0, 0, 0, 0.268);
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card Styling */
.open-task {
    display: flex;
    padding: 48px 40px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.16);
    width: 500px;
    max-width: 500px;
    height: 95vh;
    overflow-y: auto;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.card-type {
    display: flex;
    padding: 4px 24px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 8px;
    background: #0038ff;
}

.close-icon {
    cursor: pointer;
}

.card-type-description {
    color: #fff;
    font-size: 23px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.card-headline-overlay {
    color: black;
    font-size: 61px;
    font-weight: 700;
    line-height: 120%;
    padding-bottom: 0;
    text-align: left;
    width: 100%;
    word-wrap: break-word;
}

.card-subheadline {
    align-self: stretch;
    color: black;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
}

/* Date Styling */
.date-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    align-self: stretch;
}

.date-description {
    color: #2a3647;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
}

.date {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
}

/* Priority Styling */
.priority-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    align-self: stretch;
}

.priority-description {
    color: #2a3647;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
}

.priority {
    display: flex;
    padding: 4px 18px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.priority-grade {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
}

/* Assigned To Styling */
.assigned-to-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    align-self: stretch;
}

.assigned-to-headline {
    align-self: stretch;
    color: #2a3647;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
}

.assigned-to-name-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    align-self: stretch;
    height: 180px;
    overflow-y: scroll;
}

.assigned-contact {
    display: flex;
    padding: 7px 16px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 10px;
}

.name-circle-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.name-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background-color: #1fd7c1;
    stroke-width: 2px;
    stroke: #fff;
    border-radius: 100px;
    color: white;
}

.assigned-name {
    color: #000;
    font-size: 19px;
    font-weight: 400;
    line-height: 120%;
}

/* Subtask Styling */
.subtasks-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    align-self: stretch;
}

.subtask-title {
    align-self: stretch;
    color: #2a3647;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
}

.subtask {
    display: flex;
    height: 32px;
    padding: 6px 16px;
    align-items: center;
    gap: 16px;
}

.subtasks-checkbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
}

.subtask-checkbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    height: 88px;
    overflow-y: scroll;
}

#subtasks {
    height: 88px;
    overflow-y: scroll;
}

.checkbox {
    cursor: pointer;
    display: flex;
    width: 24px;
    height: 24px;
    padding: 4px;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}

.checkbox-description {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

/* Footer Styling */
.footer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.delete-wrapper {
    color: #2a3647;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: transform 100ms ease-in-out;
}

.delete-wrapper:hover {
    filter: brightness(0) saturate(100%) invert(52%) sepia(98%) saturate(407%) hue-rotate(155deg) brightness(93%) contrast(90%);
    transform: scale(1.1);
}

.delete {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

/* Add Task Header and Overflow Styling */
.add-task-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.close-icon {
    cursor: pointer;
}

.overflow40px {
    overflow-y: scroll;
    height: 40px;
}
