* {
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    margin-left: 232px;
    padding: 32px 64px;
    max-width: 1440px;
    flex-grow: 1;
    overflow-y: auto;
}

main::-webkit-scrollbar {
    display: none;
}

.ctn-input-search {
    position: relative;
}

.search-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    bottom: 0;
    height: 32px;
}

.header-board.d-flex-y {
    justify-content: space-between;
}

.header-board-right {
    gap: 24px;
}

.main-board {
    gap: 32px;
}

.ctn-cards {
    flex: 1;
}

.tasks-box {
    border-radius: 24px;
    flex-direction: column;
    gap: 12px;
}

.header-container {
    justify-content: space-between;
    margin-bottom: 16px;
}

.header-container span {
    color: #42526E;
    font-size: 16px;
    font-weight: 600;
}

.btn-add-task-smal {
    cursor: pointer;
    height: 20px;
}

.btn-add-task-smal:hover {
    content: url('../assets/img/plusButtonLightBlue.svg');
}

.ctn-no-tasks {
    background-color: #E7E7E7;
    color: gray;
    border-radius: 12px;
    border: 1px dashed rgb(199, 199, 199);
    font-size: 14px;
    height: 36px;
    width: 100%;
    min-width: 200px;
}

.ctn-task {
    background-color: var(--textwhite);
    border-radius: 24px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.1) inset;
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 200px;
}

.ctn-task:hover {
    cursor: pointer;
}

.ctn-task p {
    margin: 0;
}

.task-category {
    color: var(--textwhite);
    font-size: 16px;
    padding: 4px 16px;
    width: fit-content;
    border-radius: 8px;
}

.bg-user-story {
    background-color: var(--blue);
}

.bg-technical-task {
    background-color: var(--bluelight);
}

.task-title {
    font-weight: 600;
    color: var(--darkblue);
}

.task-description {
    color: #A8A8A8;
    font-size: 14px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.task-subtasks {
    gap: 6px;
    font-size: 12px;
    justify-content: space-between;
}

.assigned-to {
    width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 100%;
    border: 1px solid var(--textwhite);
    color: var(--textwhite);
}

.mesh {
    margin-right: -12px;
}

.ctn-task-bottom {
    justify-content: space-between;
}

.image-prio-board {
    width: 14px;
    margin-left: 12px;
    padding: 12px 0;
}

.overlay-board {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.overlay-detail-task-board {
    padding: 24px;
    gap: 32px;
    max-width: 460px;
    font-size: 16px;
    max-height: 80vh;
}

.no-hover {
    cursor: default !important;
}

.btn-close-detail-task {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.move-to-responsive {
    display: none;
}

.btn-close-detail-task:hover {
    background-color: var(--lightgrey);
    cursor: pointer;
}

.img-menu {
    width: 22px;
}

.ctn-header-task {
    position: relative;
}

.ctn-header-task {
    justify-content: space-between !important;
    align-items: center !important;
}

.menu-move-to {
    position: absolute;
    top: 100%;
    right: 0px;
    background-color: var(--darkblue);
    color: var(--middlegrey);
    font-size: 14px;
    padding: 8px;
    border-radius: 12px 0 12px 12px;
}

.ul-move-to {
    list-style-type: none;
    flex-direction: column;
    gap: 6px;
    text-align: right;
}

.ctn-header-task img:hover {
    background-color: var(--lightgrey);
    border-radius: 120px;
}

.task-title-detail {
    font-size: 32px;
    font-weight: 700;
    overflow-wrap: break-word;
}

.category-move-to:hover {
    color: var(--textwhite);
}

.task-description-detail {
    font-size: 16px;
    display: flex;
    max-height: 160px;
    overflow-y: scroll;
    padding: 0px 8px 8px 0px;
    margin-bottom: 10px;
    width: 95%;
    flex-shrink: 0;
}

.ctn-category-close {
    justify-content: space-between;
}

.ctn-assigned-to {
    gap: 4px;
}

.ctn-assigned-to-detail {
    flex-direction: column;
    justify-content: flex-start !important;
    gap: 4px;
    padding-left: 16px;
    font-size: 14px;
    max-height: 140px;
    overflow-y: scroll;
    margin-top: 8px;
    width: 95%;
}

.person-detail p {
    padding-left: 16px;
}

.ctn-subtasks {
    flex-direction: column;
    padding-top: 8px;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 12px;
}

.subtask-item {
    gap: 16px;
    font-size: 14px;
    position: relative;
    padding: 4px;
}

.subtask-item:hover {
    background-color: var(--lightgrey);
    border-radius: 6px;
}

.ctn-main-Detail-Task {
    overflow-y: auto;
    gap: 18px;
    justify-content: flex-start !important;
    flex-direction: column;
}

.ctn-delete-edit {
    gap: 4px;
    justify-content: flex-end;
}

.ctn-delete-edit img {
    height: 20px;
}

.vertikalLine {
    width: 1px;
    height: 14px;
    background-color: var(--middlegrey);
}

.drag-area-highlight {
    margin-top: 12px;
    border-radius: 12px;
    border-width: 3px;
    border: 1px dashed var(--middlegrey);
    height: 100px;
}

.ctn-drag-area {
    min-height: calc(100vh - 380px);
}

.error {
    color: red;
    font-size: 10px;
    margin-top: -5px;
    padding-left: 8px;
}

#highlight-todo,
#highlight-in-progress,
#highlight-await-feedback,
#highlight-done {
    min-height: 100px;
}

iframe {
    width: 100%;
    height: 100%;
}

.overlay-add-task-board-add {
    background-color: var(--textwhite) !important;
    margin: 0;
    padding: 32px;
    border-radius: 20px;
    border: none;
    width: 90%;
    height: 80vh;
    max-width: 1200px;
}