/* =============================================================
   Bookmark My Post — Public styles
   ============================================================= */

/* ---------------------------------------------------------------
   Button
--------------------------------------------------------------- */
.bmp-button {
	
	background: #0d3b5a;
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border: none;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 700;
	font-family: inherit;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
	-webkit-user-select: none;
	user-select: none;
}

.bmp-button:hover,
.bmp-button:focus-visible {
	transform: translateY(-2px);
	
	outline: none;
}

.bmp-button:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.bmp-button .bmp-icon svg {
	fill: #ffffff;
	stroke: #ffffff;
}
/* Active / bookmarked state */
.bmp-button.bmp-active {
	background: transparent;
	color: #0d3b5a;
	
	
}
button.bmp-button.bmp-active {
	padding:0;
}
.bmp-button.bmp-active .bmp-icon svg {
	
	stroke: #0d3b5a;
}

/* Loading state */
.bmp-button.bmp-loading {
	opacity: 0.65;
	pointer-events: none;
	cursor: wait;
}

/* Icon wrapper */
.bmp-button .bmp-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.bmp-button .bmp-icon svg {
	transition: fill 0.18s ease;
	fill: none;
}

/* ---------------------------------------------------------------
   Bookmark list
--------------------------------------------------------------- */
.bmp-list {
	background: #ffffff;
	border-radius: 18px;
	
	
}

.bmp-list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e4e9ee;
	gap: 12px;
}

.bmp-list-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #c1185a;
}

.bmp-list-link {
	color: #0d3b5a;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.bmp-list-link:hover {
	color: #c1185a;
}

/* Items */
.bmp-list-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bmp-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 18px;
	background: #f0f3f7;
	border-radius: 10px;
	gap: 12px;
	transition: background 0.15s ease, opacity 0.3s ease, transform 0.3s ease;
}

.bmp-list-item:hover {
	background: #e6ecf3;
}

.bmp-item-title {
	font-weight: 700;
	color: #0d3b5a;
	text-decoration: none;
	font-size: 14px;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.bmp-item-title:hover {
	color: #c1185a;
}

.bmp-item-meta {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.bmp-item-term {
	font-size: 12px;
	font-weight: 600;
	color: #5a7080;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
}

/* Remove button */
.bmp-remove-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 3px;
	color: #9aacba;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
	line-height: 1;
}

.bmp-remove-btn:hover,
.bmp-remove-btn:focus-visible {
	color: #e53935;
	transform: scale(1.15);
	outline: none;
}

/* Empty state */
.bmp-list-empty {
	padding: 8px 0 4px;
	color: #5a7080;
	font-size: 14px;
}

/* ---------------------------------------------------------------
   Toast notification
--------------------------------------------------------------- */
.bmp-toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(12px);
	background: #0d3b5a;
	color: #fff;
	padding: 11px 22px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
	white-space: nowrap;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.bmp-toast.bmp-toast--show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.bmp-toast.bmp-toast--error {
	background: #c62828;
}

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */
@media (max-width: 480px) {
	.bmp-list {
		padding: 20px 16px;
	}

	.bmp-list-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.bmp-item-title {
		white-space: normal;
	}
}
