@import url('./reset.css');
@import url('./global.css');
@import url('./common.css');

body {
  background: #f0f6ff;
  display: flex;
  padding: 3rem 0;

  gap: 2rem;
  align-items: center;
  flex-direction: column;
}

header {
  display: flex;
  font-size: 2rem;
  flex-direction: column;
  gap: 1rem;
}

main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.input-form {
  display: flex;
  width: 100%;
  height: 7rem;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-wrapper {
  display: flex;
  height: 100%;
  gap: 1rem;
}

.input {
  width: 40rem;
  padding: 1rem;
  font-size: 2rem;
  border-radius: 1rem;
}
.input:focus {
  border: 0.1rem solid #6d6afe;
}

.input::-webkit-input-placeholder {
  font-size: 2rem;
}

.input-button {
  width: 5rem;
  padding: 0.2rem;
  background: linear-gradient(91deg, #6d6afe 0.12%, #6ae3fe 101.84%);
  color: white;
  font-size: 2rem;
  font-weight: 200;
  border-radius: 1rem;
}

.list-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.list-wrapper {
  display: flex;
  width: 20rem;
  height: 40rem;
  padding: 2rem;
  border: 0.1rem solid #6d6afe;
  gap: 1rem;
  align-items: center;
  flex-direction: column;
  border-radius: 2rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: auto;
}

// 스크롤바 css가 안 먹는 이유를 모르겠음..
/* 스크롤바 막대 */

ul::-webkit-scrollbar-thumb {
  background-color: black; /*스크롤바의 색상*/
}

ul::-webkit-scrollbar-track {
  background-color: yellow; /*스크롤바 트랙 색상*/
}

.label {
  font-size: 2rem;
}

li {
  display: flex;
  font-size: 2rem;
  gap: 1rem;
}

.error {
  color: red;
  font-size: 1.4rem;
  margin-left: 0.4rem;
}

.draggable {
  cursor: move;
}

.draggable.dragging {
  opacity: 0.5;
  border: 2px dashed red;
}
