/* ==========================
	필터뱃지 / 전체 데이터 초기화
========================== */
.all-filter {
	padding-right: 20px;
	display: flex;
	align-items: center;
}

.filter-badges {
	display: inline-flex;
	align-items: center;
	margin: 0 5px;
	padding: 10px 16px;
	border-radius: 20px;
	background: #ffffffb3;
	font-size: 13px;
}

.filter-badge button {
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
}

.btn-all-reset {
	margin-left: auto;
	padding: 10px 14px;
	border-radius: 10px;
	border: none;
	cursor: pointer;
	background: rgba(228, 87, 116, 0.1);
	color: #e45774;
	font-weight: 600;
	transition: background 0.15s ease;
}

.btn-all-reset:hover {
	background: rgba(228, 87, 116, 0.3);
}

.add-btn {
	cursor: pointer;
}

/* ==========================
	칸반보드
========================== */
.board {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.todo-card,
.progress-card,
.done-card {
	height: 440px;
	overflow: auto;
	scrollbar-width: none;
}

.todo-card:hover,
.progress-card:hover,
.done-card:hover {
	transform: none;
	box-shadow: none;
}

.card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #4b2cff;
}

/* 할일 */
.todo-card .card-head {
	border-bottom-color: #8b7dff;
}

/* 진행중 */
.progress-card .card-head {
	border-bottom-color: #7fe8cf;
}

/* 완료 */
.done-card .card-head {
	border-bottom-color: #ff9fbe;
}

.card-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 15px;
}

.card-title > span:first-child {
	font-size: 20px;
	font-weight: 500;
}

.card-title .count {
	min-width: 32px;
	min-height: 20px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 15px;
	border: 1px solid #e8e9f0;
}

.del-all {
	border: 0;
	background: transparent;
	color: #e45774;
	font-weight: 700;
	font-size: 12px;
	cursor: pointer;
}

.done-card [class^="task-"] {
	opacity: 0.6;
}

/* 카드안쪽 */
/* 비어있음 메시지*/
.empty-msg {
	border: 2px dashed rgba(120, 120, 160, 0.3);
	border-radius: 14px;
	padding: 28px 18px;
	margin: 14px;
	display: none;
	text-align: center;
	background: rgba(255, 255, 255, 0.45);
}

.empty-icon {
	width: 28px;
	height: 28px;
	display: block;
	margin: 0 auto 10px;
}

.empty-text {
	margin: 0;
	font-size: 13px;
	opacity: 0.75;
}

/* JS에서 태그 생성 */
.task {
	margin-bottom: 10px;
	cursor: pointer;
}

.task > p {
	padding: 0 10px;
}

.task p:nth-of-type(1) {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.task p:nth-of-type(2) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2; /* vscode 경고떠서 추가함 */
	overflow: hidden;
}

/* 할일 테두리 (높음) */
.task-high {
	position: relative;
	border: 1px solid #8b7dff;
	border-radius: 10px;
	padding: 12px 12px 10px;
	overflow: hidden;
}

.task-high::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #8b7dff;
}

/* 할일 테두리 (중간) */
.task-mid {
	position: relative;
	border: 1px solid #b7b0ff;
	border-radius: 10px;
	padding: 12px 12px 10px;
	overflow: hidden;
}

.task-mid::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #b7b0ff;
}

/* 할일 테두리 (낮음) */
.task-low {
	position: relative;
	border: 1px solid #e6e4ff;
	border-radius: 10px;
	padding: 12px 12px 10px;
	overflow: hidden;
}

.task-low::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #e6e4ff;
}

/* 진행중 테두리 (높음) */
.high-color {
	border: 1px solid #7fe8cf;
}

.high-color::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #7fe8cf;
}

/* 진행중 테두리 (중간) */
.mid-color {
	border: 1px solid #a9efdf;
}

.mid-color::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #a9efdf;
}

/* 진행중 테두리 (낮음) */
.low-color {
	border: 1px solid #cdfbef;
}

.low-color::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #cdfbef;
}

/* 완료 테두리 (높음) */
.done-high-color {
	border: 1px solid #ff9fbe;
}

.done-high-color::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #ff9fbe;
}

/* 완료 테두리 (중간) */
.done-mid-color {
	border: 1px solid #fdbbd0;
}

.done-mid-color::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #fdbbd0;
}

/* 완료 테두리 (낮음) */
.done-low-color {
	border: 1px solid #fbd5e1;
}

.done-low-color::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: #fbd5e1;
}

/* 보드 안쪽 할일 영역 */
.task-top {
	padding-left: 10px;
	padding-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.badge {
	display: inline-flex;
	align-items: center;
	height: 18px;
	padding: 0 8px;
	border-radius: 15px;
	font-size: 11px;
	font-weight: 800;
	color: #4b2cff;
	background: rgba(102, 88, 255, 0.15);
}

.close {
	font-size: 15px;
	width: 25px;
	height: 25px;
	border-radius: 8px;
	border: 0;
	background: none;
	cursor: pointer;
	font-weight: 800;
	color: #666;
}

.task-title {
	font-weight: 500;
	font-size: 16px;
	margin: 0 0 6px;
}

.task-desc {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 400;
	color: #666;
	line-height: 1.35;
}

.task-date {
	padding: 0 0 10px 10px;
	font-size: 12px;
	line-height: 1.2;
	color: #888;
}
