@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');


.tvd__column__list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  height: 100%;

}

.tvd__column__item {
  border-radius: 0.2rem;
  background-color: #dfe3e6;
  padding: 0.5rem;
  min-width: 270px;
  height: 100%;
}

.tvd__column__title--wrapper {
  display: flex;
  /* grid-template-columns: repeat(2, 1fr); */
  padding: 0.25rem;
  align-items: center;
}

.tvd__column__title--wrapper h2 {
  width: 100%;
  color: #17394d;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  margin: auto;
}

.tvd__column__title--wrapper .icons,
.tvd__icons {
  text-align: right;
  color: #798d99;
  padding: 0;
  float: right;
}

.tvd__column__item--cta {
  padding: 0.25rem;
  display: flex;
  color: #798d99;
}

.tvd__column__item--cta .icons {
  margin-right: 0.25rem;
}

.tvd__card__list {
  display: grid;
  grid-template-rows: auto;
  grid-gap: 0.5rem;
  margin: 0.5rem 0;
  height: calc(100% - 80px);
  min-height: 50px;
}

.tvd__card__item {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 1px 0 rgba(9, 45, 66, 0.25);
  padding: 0.5rem;
  height: fit-content;
  min-width: 250px;
  max-width: 300px;
}

.tvd__description {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tvd__card__field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.tvd__card__field:not(:last-child) {
    padding-bottom: 8px;
    border-bottom: 1px solid rgb(245, 245, 245);
}

.tvd__card__field span {
  font-family: 'Poppins', sans-serif;
  text-align: left;
  font-size: 14px;
}

.tvd__card__item .tvd_close_addcard {
  float: right;
  border: 0;
}

.tvd__card__item,
.tvd__close_section {
  float: right;
  border: 0;
}

.tvd__card__tag {
  font-size: 1rem;
  /* padding: 0.1rem 0.5rem; */
  border-radius: 0.25rem;
  font-weight: 700;
  color: black;
  display: inline-block;
  margin-left: 0.2rem;
  font-family: 'Poppins', sans-serif;
}

.tvd__delete_card {
  padding: 0;
  border: 0;
  float: right;
}

.tvd__edit_card {
  float: right;
  border: 0;
}

.tvd__edit_card, .tvd__delete_card{
  background-color: transparent;
  padding: 4px;
}

.card__image {
  width: 100%;
  margin-bottom: 0.25rem;
}

.card__title {
  color: #17394d;
  margin-bottom: 0.75rem;
}

/* card actions */

.tvd__card__actions {
  display: flex;
  align-items: center;
}

.tvd__card__actions--wrapper .icons {
  color: #798d99;
  margin-right: 0.5rem;
}

.tvd__card__actions--wrapper {
  display: flex;
  width: 100%;
}

.card__actions--text {
  color: #798d99;
  font-size: 0.8rem;
  margin-left: -0.25rem;
  margin-right: 0.5rem;
  /* font-family: 'Roboto', sans-serif; */
  font-family: 'Poppins', sans-serif;
}

.tvd__card__avatars {
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

.tvd__card__avatars--item {
  margin-left: 0.25rem;
  width: 28px;
  height: 28px;
}

.tvd__avatar__image {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

ul {
  list-style-type: none;
}

li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ol {
  list-style-type: none;
}

ol,
ul {
  padding-left: 0%;
}

.tvd__add-btn {
  border: none;
  width: 100%;
  border-radius: 0.25rem;
  box-shadow: 0 1px 0 rgba(9, 45, 66, 0.25);
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  padding: 15px;
}

.tvd__add-btn h6 {
  margin: 0px;
  line-height: 1;
}

.tvd__add-input,
.tvd__add-textarea,
.tvd__add-input:focus-visible {
  margin: 5px 0;
  width: 100%;
  border-radius: 3px;
  border: 1px solid #f1e6e652;
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
}

.tvd__modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.tvd__modal-container {
  margin: auto;
  max-width: 500px;
  width: 100%;
  /* padding: 20px 0; */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  scale: 0;
  transition-delay: 250ms;
  transition: all 1s ;
}
.tvd__modal-open .tvd__modal-container {
  scale: 1;
}
.tvd__modal-header {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tvd__modal-header .tvd__close-delete {
  border: 0;
}

.tvd__modal-header h6 {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  margin: 0;
}

hr {
  margin: 0;
}

.tvd__form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: first baseline;
}

.tvd__form-label {
  display: inline-block;
  padding-top: calc(0.375rem + 1px);
  padding-bottom: calc(0.375rem + 1px);
  margin-bottom: 0;
  font-size: inherit;
  line-height: 1.5;
  font-family: "Poppins", sans-serif;
}

.tvd__form-control {
  display: block;
  width: -webkit-fill-available;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tvd__modal-body {
  padding: 15px 20px;
}

.tvd__modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 0;
  /* border-top: 1px solid #dee2e6; */
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
  padding: 17px 20px;
}

.tvd__edit_btn {
  margin-right: 0.25rem;
  cursor: pointer;
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
}

.tvd__img_attachment {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  margin: 7px;
}

.tvd__image {
  display: flex;
  margin-top: 10px;
}

.tvd__show_title {
  display: flex;
  align-items: baseline;
}

.tvd__show_title h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.tvd__show_title span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.tvd__modal-open .tvd__column__list {
  overflow: hidden;
}
.tvd__modal-open {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.tvd__modal-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  padding: 10px;
}

.tvd__close_editmodal, .tvd__modal-close {
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
}

.dragging {
  cursor: grabbing !important;
  opacity: 0.6;
  transform: scale(0.98);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  z-index: 999;
}

.drag-over {
  border: 2px dashed #4a9eff !important;
  background-color: rgba(74, 158, 255, 0.05) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  transition: all 0.2s ease;
}

/* Animated transitions for items */
.tvd__card__item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

/* Grab cursor on draggable elements */
[draggable=true] {
  cursor: grab;
}

/* Hover effects */
.tvd__column__item:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.tvd__card__item:hover {
  transform: translateY(-2px);
}

/* Priority styles */
.priority-urgent {
  border-left: 5px solid #ea384c;
}

.priority-high {
  border-left: 5px solid #9b87f5;
}

.priority-medium {
  border-left: 5px solid #FEF7CD;
}

.priority-low {
  border-left: 5px solid #F2FCE2;
}

.tvd__priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  margin: 3px 0;
}

.priority-badge-urgent {
  background-color: #ffebee;
  color: #ea384c;
}

.priority-badge-high {
  background-color: #f5f0ff;
  color: #9b87f5;
}

.priority-badge-medium {
  background-color: #FEF7CD;
  color: #777;
}

.priority-badge-low {
  background-color: #F2FCE2;
  color: #4caf50;
}


/* Dark mode overrides */
.dark-mode .tvd__column__list {
  background-color: #222;
}

.dark-mode .tvd__column__item {
  background-color: #333;
  border-color: #444;
}

.dark-mode .tvd__column__title--wrapper h2 {
  color: #eee;
}

.dark-mode .tvd__card__item {
  background-color: #444;
  color: #eee;
  border-color: #555;
}

.dark-mode .tvd__card__tag {
  color: #eee;
}

.dark-mode .tvd__icons {
  color: #ccc;
}

.dark-mode .tvd__edit_card,
.dark-mode .tvd__delete_card {
  color: #ddd;
}

.dark-mode .tvd__card__empty {
  border-color: #555;
  color: #aaa;
}

.dark-mode .drag-over {
  background-color: rgba(74, 158, 255, 0.1) !important;
}

.dark-mode .section-drag-over {
  background-color: #3a3a3a;
}

.dark-mode .tvd__add-btn {
  background-color: #555;
  color: #eee;
  border-color: #666;
}

.dark-mode .tvd__add-btn:hover {
  background-color: #666;
}

.dark-mode .tvd__add-input,
.dark-mode .tvd__add-textarea,
.dark-mode .tvd__add-select,
.dark-mode .tvd__add-date {
  background-color: #444;
  border-color: #555;
  color: #eee;
}
.tvd__tag-add {
  cursor: pointer;
  color: rgb(74, 158, 255);
  font-size: 12px;
  background: none;
  border-width: initial;
  border-style: none;
  border-color: initial;
  border-image: initial;
  padding: 0px;
}
.tvd__tag {
  background-color: rgb(240, 240, 240);
  color: rgb(102, 102, 102);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
}
.tvd__tag-remove {
  cursor: pointer;
    font-size: 10px;
    color: rgb(153, 153, 153);
    background: none;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    padding: 0px 0px 0px 5px;
}
/* Tags in dark mode */
.dark-mode .tvd__tag {
  background-color: #3a3a3a;
  color: #a0c2ff;
}

.dark-mode .tvd__tag-remove {
  color: #a0c2ff;
}

/* Comments in dark mode */
.dark-mode .tvd__comment {
  background-color: #3a3a3a;
}

.dark-mode .tvd__comment-author {
  color: #ddd;
}

.dark-mode .tvd__comment-time {
  color: #aaa;
}

.dark-mode .tvd__card__comments {
  border-top-color: #555;
}
/* Toast notifications */
.tvd__toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 20px;
  background-color: #333;
  color: white;
  border-radius: 6px;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tvd__toast-success {
  background-color: #43a047;
}

.tvd__toast-error {
  background-color: #e53935;
}

.tvd__toast-info {
  background-color: #039be5;
}

.tvd__toast-warning {
  background-color: #fb8c00;
}

.tvd__toast-enter-from,
.tvd__toast-leave-to {
  opacity: 0;
  transform: translateY(30px);
}

/* Attachment styles */
.tvd__file-icon {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 18px;
}

.tvd__file-image {
  max-width: 100%;
  max-height: 150px;
  border-radius: 4px;
  margin-top: 5px;
}

/* Activity styles */
.tvd__activity-item {
  padding: 8px;
  margin-bottom: 5px;
  background-color: #f9f9f9;
  border-radius: 4px;
  font-size: 13px;
}

.tvd__activity-time {
  font-size: 11px;
  color: #999;
  margin-top: 3px;
}

/* Board sharing and templates */
.tvd__board-sharing-link {
  display: flex;
}

.tvd__board-sharing-input {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
}

.tvd__board-sharing-copy {
  padding: 8px 12px;
  background-color: #4a6cff;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.tvd__template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.tvd__template-item {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tvd__template-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Export/Import styles */
.tvd__export-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.tvd__export-btn {
  padding: 8px 15px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tvd__export-btn:hover {
  background-color: #e0e0e0;
}

.tvd__import-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  background-color: #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
}

.tvd__import-label:hover {
  background-color: #e0e0e0;
}


/* Attachment and activity in dark mode */
.dark-mode .tvd__file-icon {
  background-color: #555;
  color: #ddd;
}

.dark-mode .tvd__activity-item {
  background-color: #3a3a3a;
}

.dark-mode .tvd__activity-time {
  color: #aaa;
}

.dark-mode .tvd__template-item {
  background-color: #444;
  color: #eee;
}

.dark-mode .tvd__export-btn,
.dark-mode .tvd__import-label {
  background-color: #444;
  color: #eee;
}

.dark-mode .tvd__export-btn:hover,
.dark-mode .tvd__import-label:hover {
  background-color: #555;
}

.dark-mode .tvd__board-sharing-input {
  background-color: #444;
  border-color: #555;
  color: #eee;
}