/* ------------------------------ */
/* Admin Notes */
/* ------------------------------ */
.admin-notes-wrap {
	margin: 16px 20px 0 0;
}

.notes-head-section {
	background: rgb(255, 255, 255);
	padding: 20px 20px 10px 10px;
	margin: -20px 0 0 -20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 0 7px 1px rgb(113 113 113);
	position: sticky;
	top: 0px;
	z-index: 99;
	width: 101%;
	align-content: center;
}

.left h1 {
	font-family: 'Inter';
	font-size: 30px;
	font-weight: 600;
}

.left p {
	margin: 0px;
	font-family: 'Inter';
	font-size: 14px;
}

/* tooltip hover information */
.tooltip {
	position: relative;
	display: inline-block;
	cursor: pointer;
	font-size: 18px;
	font-weight: 600;
}

.tooltiptext {
	visibility: hidden;
	width: 600px;
	padding: 20px;
	background-color: #2c3338;
	color: #c3c4c7;
	border-radius: 6px;
	position: absolute;
	z-index: 1;
	top: 150%;
	left: 50%;
	margin-left: -60px;
	font-size: 14px;
	box-shadow: 2px 2px 10px gray;
}

.tooltiptext strong {
	font-weight: bold;
	font-size: 17px;
	font-style: oblique;
}

.tooltiptext::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 10%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #2c3338 transparent;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}

.tooltiptext ul li {
	margin-bottom: 8px;
	line-height: 1.4;
}

button#admin-notes-add {
	font-size: 16px;
}

p.admin-notes-actions {
	padding: 20px 0 0;
	margin: 0px;
}


/* ------------------------------ */
/* admin notes section  */
/* ------------------------------ */
.admin-notes-actions {
	margin-bottom: 16px;
}

.admin-notes-board {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	align-items: start;
	margin-top: 30px;
}

/* Note card */
.admin-note-card {
	border-radius: 10px;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08);
	background: #fff;
	/* transition: transform 0.18s ease, box-shadow 0.18s ease; */
	position: relative;
	min-height: 80px;
	display: flex;
	flex-direction: column;
}

/* Hover effect */
.admin-note-card:hover {
	transform: translateY(-1px);
	box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dragging state */
.admin-note-card.dragging {
	opacity: 0.8;
	transform: scale(1.03);
	z-index: 1000;
}

.admin-note-card.drag-over {
	border: 2px dashed #2196F3;
	background: #e20606;
}

/* Note header */
.admin-note-actions {
	display: flex;
}


.admin-note-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 8px;
	border-radius: 6px 6px 0 0;
	cursor: move;
	transition: background 0.15s ease;
	border-width: 3px 0 0;
	border-color: gray;
	border-style: solid;
}

.admin-note-header:hover {
	background-color: #e0f7fa;
}

/* Drag handle icon */
.admin-note-drag-handle {
	font-size: 160px;
	opacity: 0.6;
	cursor: move;
	transition: opacity 0.15s ease;
}

.admin-note-header:hover .admin-note-drag-handle {
	opacity: 1;
}

/* Note title */
.admin-note-title {
	font-weight: 700;
	border: none;
	background: transparent;
	font-size: 16px;
	width: 100%;
}

.admin-note-title:focus {
	outline: 2px solid #90caf9;
	border-radius: 4px;
}

/* Note actions */
.admin-note-actions button {
	background: transparent;
	border: none;
	font-size: 13px;
	cursor: pointer;
	transition: color 0.15s ease;
}

button.admin-note-minimize:hover {
	transform: scale(1.3);
}

button.admin-note-delete {
	font-size: 20px;
	font-weight: 500;
}

button.admin-note-delete:hover {
	font-weight: 600;
	color: red;
}

/* ---------------- */
/* Note body */
/* ---------------- */
.admin-note-body {
	margin-top: 10px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 10px;
}

/* Checklist */
.admin-note-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 8px 0;
}

.admin-note-check-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 6px;
	border-radius: 4px;
	transition: background 0.12s ease;
}

.admin-note-check-item:hover {
	background: rgba(33, 150, 243, 0.05);
}

li.admin-note-check-item:hover .check-text {
	font-weight: 800;
}
/* Checklist drag handle */
span.check-drag {
	visibility: hidden;
}

.admin-note-check-item:hover .check-drag {
	visibility: visible;
}

.admin-note-check-item .check-drag {
	cursor: move;
}

span.admin-note-drag-handle {
	font-size: 23px;
	font-weight: bold;
	margin: 0 -4px 6px 4px;
}

/* Checklist checkbox */
input.check-toggle {
	background: transparent;
}

/* Checklist text */
.check-text {
	margin-left: 6px;
	font-family: inter;
	font-size: 16px;
}

/* Checklist remove icon */
button.check-remove {
	background: transparent;
	border: none;
	font-size: 11px;
	position: absolute;
	right: 10px;
	display: none;
	cursor: pointer;
}

button.check-remove:hover {
	font-weight: 600;
	color: red;
	transform: scale(1.3);
}


li.admin-note-check-item:hover .check-remove {
	display: block;
}




/* Checklist input */
input.admin-note-add-input {
	width: 100%;
	padding: 2px 8px;
	border-radius: 5px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	font-size: 14px;
	background: transparent;
}

input.admin-note-add-input:focus {
	border: 0px;
}

/* Footer section */
.admin-note-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 5px;
	flex-wrap: wrap;
	gap: 6px;
	/* border-top: 1px solid #eee; */
	padding-top: 5px;
}

/* Colors */
.admin-note-colors {
	display: flex;
	gap: 6px;
	align-items: center;
	flex-wrap: nowrap;
	width: 100%;
}

.admin-note-color-swatch {
	width: 10%;
	height: 20px;
	border-radius: 5px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: transform 0.12s ease;
}

.admin-note-color-swatch:hover {
	transform: scale(1.1);
}

.admin-note-color-picker {
	width: 30px;
	height: 20px;
	padding: 0px;
	border: none;
	background: transparent;
	cursor: pointer;
}

/* Visibility select */
.admin-note-visibility select {
	font-size: 13px;
	background: transparent;
	border: 0px;
}

.admin-note-visibility select:focus {
	outline: 0;

}

/* Responsive tweaks */
@media (max-width: 600px) {
	.admin-notes-board {
		grid-template-columns: 1fr;
	}
}