.app {
  max-width: 1920px;
  padding: 150px 20px 64px 300px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  width: auto;
  top: 96px;
  opacity: 1;
  padding-right: 8px;
  padding-left: 13px;
}

.controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
}

.search {
  display: flex;
  position: relative;
  width: 312px;
  height: 48px;
  padding: 8px 17px;
  border-radius: 10px;
  border: 1px solid var(--color-placeholder);
  background: var(--white);
  cursor: pointer;
}

.search input {
  border: none;
  outline: none;
  font-size: 20px;
  width: 100%;
}

.search input::placeholder {
  color: var(--color-placeholder);
}

.search:focus-within {
  border-color: var(--light-blue);
}

.search-icon {
  position: absolute;
  right: 8px;
  width: 32px;
  height: 32px;
  background-image: url(../assets/svg/search_default.svg);
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease; 
}

.search-icon:hover {
  background-image: url(../assets/svg/search_hover.svg);
}

.search-icon:active {
  background-image: url(../assets/svg/search_clicked.svg);
}

.search::after {
  content: "";
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 31px;
  background-color: var(--color-placeholder);
}

.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration,
.search input::-webkit-search-results-button,
.search input::-webkit-search-results-decoration {
  display: none;
}
.search input::-ms-clear,
.search input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 160px;
  height: 48px;
  border-radius: 10px;
  flex-direction: row;
  cursor: pointer;
}

a.btn,
a.btn:link,
a.btn:visited,
a.btn:hover,
a.btn:focus,
a.btn:active {
  color: var(--white);
  text-decoration: none;
}
.btn .icon-add,
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.btn svg {
  stroke: currentColor;
  fill: none;
}
.btn-text {
  display: inline-block;
  font-size: 21px;
  font-weight: 700;
}

.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  width: 1146px;
  opacity: 1;
  margin-top: 20px;
}

.col-head {
  display: flex;
  align-items: center;
  color: var(--board-column) !important;
  width: 252px;
  height: 24px;
  justify-content: space-between;
  opacity: 1;
}

.col-head .count {
  color: var(--color-icon);
  font-size: 16px;
}

.col-head .add-card-btn {
  justify-content: center;
  width: 24px;
  height: 24px;
  background-image: url("../assets/svg/boardAdd_default.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  margin-left: auto;
  cursor: pointer;
}

.add-card-btn:hover {
  background-image: url("../assets/svg/boardAdd_hover.svg");
}

.add-card-btn:active {
  background-image: url("../assets/svg/boardAdd_clicked.svg");
}

.empty {
  border: 1px dashed var(--color-icon);
  background: var(--empty-category);
  color: var(--color-icon);
  display: grid;
  place-items: center;
  height: auto;
  border-radius: 12px;
}

.task-container {
  position: relative;
  display: block;
  transition: background 120ms ease, outline-color 120ms ease;
}
.task-container.is-over {
  background: rgba(0, 0, 0, 0.04);
  outline: 2px dashed rgba(0, 0, 0, 0.15);
  outline-offset: 2px;
}

.dropzone {
  width: 100%;
  height: 800px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  gap: 10px;
  padding: 16px;
  scrollbar-width: thin;
}

.dropzone .empty {
  padding: 12px;
  text-align: center;
  opacity: 0.6;
}

.dropzone-scrollable {
  scrollbar-width: none;
  &::-webkit-scrollbar {
    display: none;
  }
  -ms-overflow-style: none;
}

.board-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-height: 0;
}
.board-viewport::-webkit-scrollbar {
  display: none;
}

.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  opacity: 1;
}

body.modal-open {
  overflow: hidden;
}
#addTaskForm {
  position: static;
  padding: 0;
  max-width: 100%;
}

.swapMenu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 15px;
  right: 22px;
  background-color: var(--main-color);
  padding: 15px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 20px;
  gap: 16px;
  z-index: 10;
  list-style: none;
  cursor: default;
}

.swapMenuHeading {
  font-weight: 700;
  font-size: 16px;
  color: white;
}
