* {
    font-family: "Inter", sans-serif;
}

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

.bg-danger-subtle {
    background-color: #fff2f3 !important;
}

/** Main board */
#main-board {
    /* width: 100%; */
    /* height: 100vh; */
    overflow: hidden;
}

.columns {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 1rem;
    /* overflow-x: auto;
    overflow-y: hidden; */
    height: 100%;
    min-width: min-content;
}






.highlighted-section {
    outline: 2px solid #3F20FB;
    background-color: rgba(63, 32, 251, 0.1);
}

.edit-button {
    position: absolute;
    z-index: 1000;
}

/** Columns */
.column {
    min-width: 300px;
    flex: 0 0 auto;
    transition: all 0.2s ease;
}

/* .column:hover {
    border-radius: 4px;
    background-color: rgba(0,0,0,.02);
    box-shadow: 0 0 0px 10px rgba(0,0,0,.02);
} */


/** Card **/

.card {
    z-index: unset;
}


.card:hover {
    z-index: 1000;
}
.card .dropdown-menu {
    display: none;
}

.card:hover .dropdown-menu.show {
    display: block;
}



.card::after,
.card::before {
    content: "";
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover::before
 {
    opacity: 1;
    content: "";
    position: absolute;
    /* inset: 0px; */
    border-radius: 5px;
    /* background: linear-gradient(45deg, #00ff9c, #00d9ff, #5b7cff, #ff4da6, #ffd36b, #00ff9c); */
    filter: blur(50px);
    opacity: 0.6;
    z-index: 1;
}
.card:hover::after {
    opacity: 1;
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg, #00ff9c, #00d9ff, #5b7cff, #ff4da6, #ffd36b, #00ff9c);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-shadow: 0 0 10px rgba(0, 255, 156, 0.6), 0 0 20px rgba(0, 217, 255, 0.4), 0 0 30px rgba(255, 77, 166, 0.3);
    z-index: 2;
}


.card::after,
.card::before {
    content: "";
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover::before
 {
    opacity: 1;
    content: "";
    position: absolute;
    /* inset: 0px; */
    border-radius: 5px;
    /* background: linear-gradient(45deg, #00ff9c, #00d9ff, #5b7cff, #ff4da6, #ffd36b, #00ff9c); */
    filter: blur(50px);
    opacity: 0.6;
    z-index: -1;
}
.card:hover::after {
    opacity: 1;
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg, #00ff9c, #00d9ff, #5b7cff, #ff4da6, #ffd36b, #00ff9c);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-shadow: 0 0 10px rgba(0, 255, 156, 0.6), 0 0 20px rgba(0, 217, 255, 0.4), 0 0 30px rgba(255, 77, 166, 0.3);
    z-index: -2;
}



/** Drag and drop */
.drag-card {
    max-width: 320px;  
    width: 320px;   
}

.drag-card .drag-handler {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.drag-card:hover .drag-handler {
    cursor: move;
    opacity: 1;
}

.drag-card .handler-bar {
    width: 10px;
    transition: width 0.2s ease;
    transform: translateY(-3px);
}

.drag-card:hover .handler-bar {
    width: 50px;
}

.drag-card .card-owner {
    width: 20px;
    height: 20px;
}


.drag-card .card-title {
    position: relative;
}
.drag-card .card-title:after {
    content: "";
    color: var(--bs-primary) !important;
    width: 0;
    border-top: 2px solid var(--bs-primary);
    display: block;
    transition: all 0.2s ease;
    position: absolute;
    bottom: 0;
}

.drag-card .card-title:hover:after {
    display: block;
    width: 20px;
}
.drag-card .card-title:hover {
    color: var(--bs-primary) !important;
}



/* action list */
.drag-card input[type="checkbox"]:not(:checked) {
    transform: scale3d(0.75, 0.75, 0.75) translate(2px, 0px);
    transition: all 0.2s;
    background-color: #ffffff;
    border-radius: 10px;
}

.drag-card input[type="checkbox"]:checked {
    transform: scale3d(0.75, 0.75, 0.75) translate(2px, 0px);
    background-color: #799bbd;
    border: none;
    border-radius: 10px;
}

.drag-card .item-list label {
    color: var(--text-gray-2);
    font-size: 13px;
}

.ui-state-highlight {
    background-color: #eef0f2;
    /* box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important; */
    border: 2px dashed rgb(130, 199, 145);
    border-radius: 8px;
    height: 80px !important;
    /* outline: 2px dashed #eeeeee; */
    outline-offset: -6px;
}


/* Center scale animation for Bootstrap modals */
.modal.fade .modal-dialog {
    transform: scale(0.85);
    transition: transform 0.2s ease-out;
    opacity: 0;
  }
  
  .modal.fade.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
  }

/* hover  */

.group\/action-item .group-hover\/action-item-block {
    transition: opacity 0.1s ease;
    opacity: 0;
}

.group\/action-item:hover .group-hover\/action-item-block {
    opacity: 1;
}


.parent-hover .child-hover\:opacity-100 {
    transition: all 0.2s ease;
    opacity: 0;
}

.parent-hover:hover .child-hover\:opacity-100 {
    opacity: 1;
}

/* Tag styles */
.card-tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag-chip {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-chip:hover {
    background-color: #bbdefb;
    border-color: #90caf9;
    transform: translateY(-1px);
}

.tag-chip:active {
    transform: translateY(0);
}

/* Clickable status styles */
.card .bg-danger-subtle[data-action="openStatusCardModal"] {
    transition: all 0.2s ease;
}

.card .bg-danger-subtle[data-action="openStatusCardModal"]:hover {
    background-color: #f8d7da !important;
    border-color: #f5c2c7 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.1);
}

#card-list-widget-content .card {
    box-shadow: none;
}

#card-list-widget-content .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

#card-list-count-pill {
    background: #fff;
}

#card-list-textarea {
    min-height: 70vh;
}

#card-list-widget-content [data-list-edit-item] {
    font-size: 1rem;
}

#card-list-widget-content textarea.form-control {
    min-height: 160px;
}

.card .bg-danger-subtle[data-action="openStatusCardModal"]:active {
    transform: translateY(0);
}
