:root {
  --bg: #f6f7f9;
  --text: #2A3647;
  --muted: #A8A8A8;
  --primary: #2A3647;
  --primary-hover: #29ABE2;
  --card: #fff;
  --shadow: 0 2px 12px rgba(0, 0, 0, .06);
  --r: 12px;
}

body {
  background: var(--bg);
  margin: 0px;
  padding: 0px;
}

.hidden {
  display: none !important;
}

.hidden-visibility {
  visibility: hidden;
}

.title-and-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 70px;
}

.title-and-search h1 {
  margin: 0;
  font: 800 48px/1.1 system-ui, sans-serif;
  color: #111827;
}

.board-find-task {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 100px;
}

.input-find {
  position: relative;
  flex: 1 1 auto;
}

#input-find-task {
  width: 320px;
  height: 40px;
  padding: 0 44px 0 14px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  box-shadow: var(--shadow);
  outline: none;
}

#input-find-task:focus {
  outline: 1px solid var(--primary-hover);
  outline-offset: -1px;
}

#input-find-task::placeholder {
  color: #9CA3AF;
}

.input-find-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 17.58px;
  height: 17.58px;
  display: grid;
  place-items: center;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.input-find-icon:hover {
  width: 18px;
  height: 18px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s;

}

#separator {
  display: none;
}

#bt-add-task {
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font: 600 14px/1 system-ui, sans-serif;
  box-shadow: var(--shadow);
  cursor: pointer;
}

#bt-add-task:hover {
  background: var(--primary-hover);
}

.placeholder {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #D1D5DB;
  border-radius: 12px;
  background: #F3F4F6;
  color: #6B7280;
  font-size: 16px;
}

.columns-content.highlight {
  background: rgba(41, 171, 226, .1);
  border: 2px dashed var(--primary-hover);
}

.subtask {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.subtask-bar {
  width: 120px;
  height: 8px;
  background: #E5E7EB;
  border-radius: 6px;
  overflow: hidden;
}

.subtask-fill {
  height: 100%;
  background: var(--primary-hover);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  border-radius: 6px;
}

.modal-close:hover {
  background: #f1f3f5;
}

.modal-header {
  padding: 28px 32px 8px;
}

.modal-header h2 {
  font-size: 30px;
  margin-left: 74px;
  font-weight: 800;

}

.modal-body {
  padding: 50px 74px 24px;

}

.modal-footer {
  padding: 16px 32px 28px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.add-task-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 24px;
  align-items: start;
}

.add-divider {
  width: 1px;
  background: #e9ecef;
  height: 100%;
  align-self: stretch;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-weight: 600;
}

.req {
  color: #ff5a5f;
  margin-left: 4px;
}

.hint {
  color: #9aa4b2;
  font-size: 16px;
  margin: 8px 0 0;
}

textarea {
  width: 380px;
  max-width: 100%;
}

.input-icon {
  position: relative;
}

.icon-calendar {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.priority-group {
  display: flex;
  gap: 8px;
}

.prio-btn {
  border: 1px solid #E5E7EB;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.prio-btn.is-active {
  background: #fde68a;
  border-color: #f59e0b;
}

.subtask-row {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.subtask-list {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.subtask-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fafafa;
}

.btn {
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn.ghost {
  background: #fff;
  border-color: #E5E7EB;
}

.btn.ghost:hover {
  background: #f5f6f7;
}

.btn.primary {
  background: #2A3647;
  color: #fff;
}

.btn.primary:hover {
  background: #29ABE2;
}

#task-overlay .task-form-container {
  display: flex;
  flex: 1;
  height: 100vh;
  background-color: #f5f6f7;
  background: linear-gradient(0deg, rgba(245, 246, 247, 1) 99%, rgb(223, 224, 225) 100%);
  font-weight: 400;
  justify-content: space-evenly;
}

.task-title {
  font-size: 36px;
}

#task-overlay .drop-down-arrow-svg,
.drop-down-arrow-svg-category {
  top: 72px;
  right: 12px;
}

.task-overlay-inner {
  position: relative;
  max-height: 90vh;
  min-height: 0;
  width: 1000px;
}

.addTask-close-Icon {
  position: absolute;
  right: 30px;
  top: 30px;
  cursor: pointer;
  z-index: 9999;
}

.addTask-close-Icon:hover {
  background-color: rgba(0, 0, 0, .06);
  border-radius: 20px;
  transform: scale(105%);
}

.input-find {
  position: relative;
  display: inline-block;
}

.input-find input {
  padding-left: 36px;
  height: 36px;
}

.input-find-icon img {
  width: 100%;
  height: auto;
}

.board-toolbar {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0 12px;
}

.navbar.open {
  display: block !important;
}

.navbar {
  top: 74px;
}

#badge-overlay {
  right: 0px;
}

.navbar a:hover {
  text-decoration: underline;
}

.columns-content.drop-target {
  outline: 2px dashed #2A3647;
  background: rgba(42, 54, 71, 0.05);
}

.edit-overlay .userBadgeCircle {
  width: 38px;
  height: 38px;
  padding-left: 0px;
  color: white;
  font-size: 12px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
  border-color: white;
  border-radius: 32px;
  padding-right: 14px;
  padding-left: 14px;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.board-search {
  margin-bottom: 16px;
}

.btn-addtask-responsive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #2A3647;
  background: #2A3647;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn-addtask-responsive .btn-label {
  display: inline;
}

.btn-addtask-responsive .btn-plus {
  display: inline;
  width: 16px;
  height: 16px;
}

.btn-addtask-responsive .btn-x {
  display: none;
}

.responsive-logo-board {
  display: none;
}

.overlay {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, .45);
  z-index: 1000000;
}

.overlay.is-open {
  display: grid !important;
}

.overlay .modal {
  width: min(920px, 96vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

#task-overlay .task-content-container {
  height: 94vh;
  background: white;
}

#task-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 120vw), -50%);
  height: 90vh;
  border-radius: 38px;
  width: 80vw;
  border: 1px solid rgba(116, 116, 116, 0.5);
  z-index: 9998;
  transition: transform .25s;
  will-change: transform;
}

#task-overlay.is-open {
  transform: translate(-50%, -50%);
}

#task-overlay .cancel-accept-container {
  display: none;
  top: 18px;
}

#task-overlay .overlay-close {
  display: block
}

#task-overlay .left-task {
  padding-left: 100px;
}

#task-overlay .right-task {
  margin-right: 50px;
  margin-bottom: 12px;
}

.board-add-task-button {
  width: 140px;
  height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.board-add-task-button:hover {
  background-color: #29ABE2;
  box-shadow: 0px 4px 10px -4px rgb(0, 0, 0);
}

.board-search-input-responsive {
  display: none;
}

.seperation-line-responsive {
  display: none;
}

.search-icon-responsive {
  display: none;
}

.board-search-responsive {
  display: none;
}

#edit-overlay-background {
  display: block;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  inset: 0;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#edit-overlay {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  max-width: 90vw;
  max-height: 90vh;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(116, 116, 116, 0.5);
  z-index: 2000;
  overflow: hidden;
  min-height: 0;
  color: #2A3647;
}

.edit-overlay .contents {
  flex-direction: column;
  display: flex;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 20px 20px 20px;
  scrollbar-width: thin;
}

#edit-task-form-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  font-weight: 400;
  justify-content: flex-start;
}

body.no-scroll {
  overflow-y: hidden;
}

.board-title {
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  padding-left: 80px;
}

.board-search-input {
  width: 312px;
  height: 48px;
}

.search-bar {
  display: flex;
  position: relative;
  gap: 20px;
}

.search-bar-container {
  flex: 1;
  max-width: 600px;
}

.seperation-line {
  position: absolute;
  top: 8px;
  left: 250px;
  height: 30px;
}

.search-icon {
  position: absolute;
  top: 8px;
  left: 266px;
  height: 30px;
}

.task-badge {
  width: 32px;
  height: 32px;
  margin-left: -8px;
}

#toDo {
  top: 100px;
  position: absolute;
  height: 500px;
  width: 260px;
  z-index: 0;
}

.badges-img {
  margin-left: -8px;
  height: 32px;
  width: 32px;
}

.priority-badge {
  width: 20px;
  height: 32px;
  padding-top: 10px;
}

.label {
  color: #2A3647;
}

.distribution-icon {
  transition: filter 0.2s ease;
  cursor: pointer;
}

.subtask-render-icons-text {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  font-size: 18px;
  max-height: 100px;
  overflow-y: auto;
  width: 100%;
  padding-top: 10px;
  gap: 8px;
}

.distribution-icon:hover {
  filter: brightness(0) saturate(100%) invert(61%) sepia(75%) saturate(640%) hue-rotate(156deg) brightness(95%) contrast(89%);
}

.subtask-item input {
  display: flex;
  align-items: center;
  Font-size: 16px;
  width: auto;
  margin-right: 10px;
}

.subtask-item:hover {
  background-color: rgba(148, 148, 148, 0.1);
  border-radius: 8px;
}

#no-results {
  pointer-events: none;
  width: 200px;
  height: 46px;
  border: dotted;
  border-radius: 10px;
  gap: 10px;
  color: #A8A8A8;
  border-style: dashed;
  border-width: 2px;
  background: #E7E7E7;
  box-shadow: 0px 0px 4px 0px #00000029;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.search-icon:hover {
  background-color: rgba(0, 0, 0, .06);
  border-radius: 20px;
  cursor: pointer;
}

.landing-field {
  display: none;
  height: 190px;
  margin: 8px 0;
  border: 2px dashed #b8b8b8;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
}

.task-container.drag-over {
  background-color: #f0f0f0;
  border: 2px dashed #888;
  border-radius: 8px;
}

.edit-header {
  position: sticky;
  top: 0;
  background: white;
  padding: 24px 0px;
  z-index: 10;
}

.badge-dots {
  transform: translateX(10px);
  margin-left: -23px;
  padding-top: 14px;
  padding-left: 10px;
}

.subtask-more:hover {
  cursor: pointer;
}

.margin-top20 {
  margin-top: 20px;
}

.navbar.open {
  display: block;
}

.badge-name-container {
  display: flex;
  gap: 10px;
    align-items: center;
}