@charset "UTF-8";

/* 식물정보 — 구조용 (디자인은 이후 작업) */

.plant-page-head {
	margin: 0 0 1.5rem;
}

.plant-page-title {
	margin: 0 0 0.35rem;
	font-size: 1.75rem;
}

.plant-page-desc {
	margin: 0;
	color: #666;
}

.plant-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin-bottom: 1.5rem;
}

.plant-search-panel {
	margin-bottom: 1.5rem;
}

.plant-search-bar {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 58px;
	padding: 6px;
	border: 1px solid #dbe3de;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(24, 76, 49, 0.07);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plant-search-bar:focus-within {
	border-color: #176b47;
	box-shadow: 0 0 0 4px rgba(23, 107, 71, 0.1),
		0 10px 28px rgba(24, 76, 49, 0.09);
}

.plant-search-family {
	flex: 0 0 12rem;
	max-width: 40%;
	height: 44px;
	padding: 0 2.2rem 0 1rem;
	border: 0;
	border-right: 1px solid #e5eae7;
	border-radius: 10px 0 0 10px;
	background-color: #fff;
	color: #26332c;
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	outline: 0;
}

.plant-search-input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 0.85rem;
	border: 0;
	background: transparent;
	box-sizing: border-box;
	color: #202822;
	font-size: 1rem;
	outline: 0;
}

.plant-search-input::placeholder {
	color: #9ba49e;
}

.plant-search-submit,
.plant-filter-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease,
		transform 0.2s ease, box-shadow 0.2s ease;
}

.plant-search-submit {
	background: #176b47;
	color: #fff;
	box-shadow: 0 6px 14px rgba(23, 107, 71, 0.2);
}

.plant-search-submit:hover,
.plant-search-submit:focus {
	background: #0f5638;
	color: #fff;
	transform: translateY(-1px);
}

.plant-filter-toggle {
	background: #edf6f0;
	color: #176b47;
	font-size: 1.35rem;
	font-weight: 500;
}

.plant-filter-toggle:hover,
.plant-filter-toggle:focus {
	background: #dfeee4;
	color: #0f5638;
}

.plant-filter-panel {
	margin-top: 10px;
	padding: 1rem 1.15rem 0.7rem;
	background: #f8faf8;
	border: 1px solid #e0e7e2;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(24, 76, 49, 0.05);
}

.plant-filter-panel.is-collapsed {
	display: none;
}

.plant-filter-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.35rem 0.75rem;
	margin-bottom: 0.55rem;
}

.plant-filter-label {
	flex: 0 0 5.5rem;
	padding-top: 0.15rem;
	font-weight: 700;
	color: #333;
}

.plant-filter-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	flex: 1;
	min-width: 0;
}

.plant-filter-check {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.92rem;
	color: #333;
	cursor: pointer;
}

.plant-filter-check input {
	margin: 0;
	accent-color: #176b47;
}

.plant-search-btn,
.plant-more-btn,
.plant-group-btn {
	padding: 0.5rem 0.9rem;
	border: 1px solid #ccc;
	background: #fff;
	cursor: pointer;
}

.plant-group-btn.is-active {
	border-color: #333;
	font-weight: 700;
}

.plant-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

@media (max-width: 640px) {
	.plant-search-bar {
		flex-wrap: wrap;
		gap: 0.35rem;
		padding: 6px;
		border-radius: 14px;
	}

	.plant-search-family {
		flex: 1 1 100%;
		max-width: none;
		border-right: 0;
		border-bottom: 1px solid #e5eae7;
		border-radius: 9px 9px 0 0;
	}

	.plant-search-input {
		--flex: 1 1 calc(100% - 5rem);
	}

	.plant-filter-label {
		flex: 0 0 100%;
	}
}

.plant-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	transition: opacity 0.15s ease;
}

.plant-grid.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.plant-card {
	display: flex;
	list-style: none;
	margin-bottom: 24px;
}

.plant-card-link {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 100%;
	overflow: hidden;
	border: 4px solid #fff;
	border-radius: 24px;
	background: #fff;
	color: inherit;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(17, 91, 94, 0.16);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.plant-card-link:hover {
	border-color: #176b6f;
	color: inherit;
	text-decoration: none !important;
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(17, 91, 94, 0.23);
}

.plant-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #eef2ef;
}

.plant-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.plant-card-link:hover .plant-card-media img {
	transform: scale(1.04);
}

.plant-card-body {
	flex: 1;
	padding: 20px;
	background: #fff;
}

.plant-card-cate {
	margin-bottom: 8px;
	color: #27726a;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.plant-card-title {
	margin-bottom: 4px;
	color: #111;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
	word-break: keep-all;
}

.plant-card-scientific {
	margin-bottom: 16px;
	color: #303030;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	font-style: italic;
	line-height: 1.5;
}

.plant-card-info {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 16px;
	padding: 12px;
	border: 1px solid #d9ddda;
	border-radius: 12px;
	background: #f6f7f6;
}

.plant-card-info-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #e9f3ed;
	color: #4c5750;
	font-size: 13px;
	line-height: 1.3;
}

.plant-card-info-item strong {
	color: #176b47;
	font-weight: 700;
}

.plant-card-info-item strong::after {
	content: ":";
}

.plant-card-alias {
	padding-top: 13px;
	border-top: 1px solid #e5e8e6;
	color: #343a36;
	font-size: 14px;
	line-height: 1.55;
}

.plant-card-alias strong {
	display: inline-block;
	margin-right: 8px;
	color: #176b47;
	font-weight: 700;
}

.plant-card-alias span {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
}

@media (max-width: 575px) {
	.plant-card-link {
		border-width: 3px;
		border-radius: 18px;
	}

	.plant-card-body {
		padding: 17px;
	}

	.plant-card-title {
		font-size: 18px;
	}
}

.plant-view {
	padding-bottom: 4rem;
}

.plant-view-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1rem;
}

.plant-view-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.55rem 1rem;
	border: 1px solid #dce5df;
	border-radius: 12px;
	background: #f7faf8;
	color: #315241 !important;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease,
		transform 0.2s ease;
}

.plant-view-back:hover,
.plant-view-back:focus {
	border-color: #b9d0c1;
	background: #edf6f0;
	color: #176b47 !important;
	text-decoration: none !important;
	transform: translateY(-1px);
}

.plant-detail-shell {
	overflow: hidden;
	border: 1px solid #e1e7e3;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(26, 65, 44, 0.09);
}

.plant-status {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	color: #666;
}

.plant-card--empty {
	width: 100%;
}

.plant-empty {
	margin: 0;
	padding: 2rem 0;
	color: #777;
}

.plant-more {
	margin: 1.75rem 0 0;
	text-align: center;
}

.plant-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.4rem;
	margin: 1.25rem 0 0.5rem;
	padding: 0.25rem 0 0.5rem;
}

.plant-page-nums {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.plant-page-nav,
.plant-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	padding: 0 0.7rem;
	border: 1px solid #cfd5d1;
	border-radius: 999px;
	background: #fff;
	color: #333;
	font-size: 0.9rem;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.plant-page-nav {
	min-width: 3.4rem;
	font-size: 0.85rem;
}

.plant-page-btn.is-active {
	border-color: #2f3a34;
	background: #2f3a34;
	color: #fff;
	font-weight: 700;
	cursor: default;
}

.plant-page-nav:hover:not(:disabled),
.plant-page-btn:hover:not(.is-active) {
	border-color: #2f3a34;
	background: #f4f6f4;
}

.plant-page-nav:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.plant-page-ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	color: #999;
	font-size: 0.9rem;
	user-select: none;
}

.plant-page-info {
	flex: 0 0 100%;
	margin: 0.15rem 0 0;
	text-align: center;
	font-size: 0.8rem;
	color: #777;
}

@media (max-width: 640px) {
	.plant-pagination {
		gap: 0.45rem 0.3rem;
		margin-top: 1rem;
	}

	.plant-page-nav,
	.plant-page-btn {
		min-width: 2.75rem;
		min-height: 2.75rem;
		padding: 0 0.65rem;
		font-size: 0.95rem;
	}

	.plant-page-nav {
		min-width: 3.6rem;
		order: 0;
	}

	.plant-page-nums {
		flex: 1 1 auto;
		order: 0;
		gap: 0.3rem;
	}

	.plant-page-info {
		order: 1;
		margin-top: 0.35rem;
		font-size: 0.78rem;
	}
}

@media (max-width: 380px) {
	.plant-page-nav {
		min-width: 3rem;
		padding: 0 0.45rem;
		font-size: 0.8rem;
	}

	.plant-page-btn {
		min-width: 2.4rem;
		min-height: 2.4rem;
		font-size: 0.85rem;
	}
}

.plant-detail-photos {
	margin: 0;
	background: #1d211f;
}

.plant-detail-stage {
	position: relative;
	height: clamp(390px, 52vw, 570px);
	overflow: hidden;
	background: radial-gradient(circle at 50% 45%, #2c3430 0%, #1b1f1d 72%);
}

.plant-detail-photo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}

.plant-detail-photo.is-active {
	opacity: 1;
	pointer-events: auto;
}

.plant-detail-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: transparent;
}

.plant-gallery-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	color: #243129;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.plant-gallery-arrow:hover,
.plant-gallery-arrow:focus {
	background: #fff;
	transform: translateY(-50%) scale(1.06);
}

.plant-gallery-arrow--prev {
	left: 22px;
}

.plant-gallery-arrow--next {
	right: 22px;
}

.plant-gallery-arrow span {
	display: block;
	margin-top: -3px;
}

.plant-detail-dots {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transform: translateX(-50%);
}

.plant-detail-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: width 0.2s ease, background-color 0.2s ease;
}

.plant-detail-dot.is-active {
	width: 22px;
	background: #56a878;
}

.plant-detail-content {
	padding: 2.6rem 2.7rem 2.3rem;
}

.plant-detail-heading {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.65rem 0.9rem;
	margin-bottom: 2rem;
}

.plant-detail-heading .plant-page-title {
	margin: 0;
	color: #172019;
	font-size: clamp(1.9rem, 3vw, 2.5rem);
	font-weight: 750;
	letter-spacing: -0.04em;
}

.plant-detail-en {
	margin: 0;
	color: #69736d;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 1.05rem;
	font-style: italic;
}

.plant-detail-section {
	margin-top: 1.65rem;
}

.plant-detail-section-title {
	position: relative;
	margin: 0 0 1.1rem;
	border-bottom: 1px solid #dbe3de;
	font-size: 0;
}

.plant-detail-section-title span {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 1.25rem;
	border-radius: 0 20px 20px 0;
	background: #176b47;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.plant-detail-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid #eef1ef;
}

.plant-detail-meta > div {
	display: grid;
	grid-template-columns: minmax(84px, 0.36fr) 1fr;
	gap: 0.7rem;
	min-width: 0;
	padding: 0.85rem 1rem;
	border-right: 1px solid #eef1ef;
	border-bottom: 1px solid #eef1ef;
}

.plant-detail-meta > div:nth-child(even) {
	border-right: 0;
}

.plant-detail-meta dt {
	margin: 0;
	color: #176b47;
	font-size: 0.9rem;
	font-weight: 700;
}

.plant-detail-meta dd {
	min-width: 0;
	margin: 0;
	color: #3f4943;
	font-size: 0.95rem;
	word-break: keep-all;
}

.plant-detail-description {
	margin-top: 2rem;
}

.plant-detail-body {
	margin: 0;
	color: #374039;
	font-size: 1rem;
	line-height: 1.9;
	white-space: normal;
	word-break: keep-all;
}

.plant-detail-hit {
	margin: 2rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid #eef1ef;
	color: #8a938d;
	font-size: 0.82rem;
	text-align: right;
}

@media (max-width: 800px) {
	.plant-detail-stage {
		height: clamp(320px, 75vw, 470px);
	}

	.plant-detail-content {
		padding: 2rem 1.5rem;
	}

	.plant-detail-meta {
		grid-template-columns: 1fr;
	}

	.plant-detail-meta > div,
	.plant-detail-meta > div:nth-child(even) {
		border-right: 0;
	}
}

@media (max-width: 520px) {
	.plant-detail-shell {
		border-radius: 14px;
	}

	.plant-detail-stage {
		height: 360px;
	}

	.plant-gallery-arrow {
		width: 40px;
		height: 40px;
	}

	.plant-gallery-arrow--prev {
		left: 12px;
	}

	.plant-gallery-arrow--next {
		right: 12px;
	}

	.plant-detail-content {
		padding: 1.6rem 1rem;
	}

	.plant-detail-heading {
		margin-bottom: 1.4rem;
	}

	.plant-detail-meta > div {
		grid-template-columns: 76px 1fr;
		padding: 0.75rem 0.35rem;
	}
}

.plant-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 900px) {
}

@media (max-width: 480px) {
}

.plant-section-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.plant-admin-actions {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.plant-page a.plant-edit-btn,
.plant-page button.plant-edit-btn,
.plant-edit-btn {
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 42px;
	padding: 0.55rem 1.05rem;
	margin: 0;
	border: 1px solid #b9d0c1;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(26, 65, 44, 0.06);
	color: #176b47 !important;
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	vertical-align: middle;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease,
		color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.plant-page a.plant-edit-btn:hover,
.plant-page a.plant-edit-btn:focus,
.plant-page button.plant-edit-btn:hover,
.plant-page button.plant-edit-btn:focus,
.plant-edit-btn:hover,
.plant-edit-btn:focus {
	border-color: #176b47;
	background: #edf6f0;
	color: #0f5638 !important;
	box-shadow: 0 7px 18px rgba(23, 107, 71, 0.13);
	text-decoration: none !important;
	outline: none;
	transform: translateY(-1px);
}

.plant-page a.plant-edit-btn--primary,
.plant-page button.plant-edit-btn--primary,
.plant-edit-btn--primary {
	background: #176b47;
	border-color: #176b47;
	box-shadow: 0 7px 18px rgba(23, 107, 71, 0.2);
	color: #fff !important;
}

.plant-page a.plant-edit-btn--primary:hover,
.plant-page a.plant-edit-btn--primary:focus,
.plant-page button.plant-edit-btn--primary:hover,
.plant-page button.plant-edit-btn--primary:focus,
.plant-edit-btn--primary:hover,
.plant-edit-btn--primary:focus {
	background: #0f5638;
	border-color: #0f5638;
	color: #fff !important;
}

.plant-page a.plant-edit-btn--ghost,
.plant-page button.plant-edit-btn--ghost,
.plant-edit-btn--ghost {
	border-color: #d9dfdb;
	color: #626d66 !important;
	background: #f8faf9;
	box-shadow: none;
}

.plant-page a.plant-edit-btn--danger,
.plant-page button.plant-edit-btn--danger,
.plant-edit-btn--danger {
	border-color: #f0c7c7;
	color: #b83a3a !important;
	background: #fff7f7;
	box-shadow: none;
}

.plant-page a.plant-edit-btn--danger:hover,
.plant-page button.plant-edit-btn--danger:hover,
.plant-edit-btn--danger:hover {
	border-color: #d95a5a;
	background: #b83a3a;
	color: #fff !important;
}

.plant-edit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.plant-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-width: 146px;
	min-height: 46px;
	padding: 0.65rem 1.4rem;
	border: 1px solid #b9d0c1;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 7px 20px rgba(26, 65, 44, 0.08);
	color: #176b47;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease,
		box-shadow 0.2s ease, transform 0.2s ease;
}

.plant-more-btn::after {
	content: '↓';
	font-size: 1rem;
	line-height: 1;
}

.plant-more-btn:hover,
.plant-more-btn:focus {
	border-color: #176b47;
	background: #176b47;
	box-shadow: 0 10px 24px rgba(23, 107, 71, 0.2);
	color: #fff;
	outline: none;
	transform: translateY(-2px);
}

.plant-more-btn:disabled {
	opacity: 0.55;
	cursor: wait;
	transform: none;
}

.plant-form-page {
	max-width: 1080px;
	margin: 0 auto;
	padding-bottom: 4rem;
}

.plant-form-page .plant-page-head {
	margin: 0 0 1.2rem;
}

.plant-form-page .plant-page-title {
	color: #172019;
	font-size: clamp(1.7rem, 3vw, 2.15rem);
	font-weight: 750;
	letter-spacing: -0.04em;
}

.plant-form {
	padding: clamp(1.4rem, 3vw, 2.4rem);
	border: 1px solid #e0e7e2;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(26, 65, 44, 0.08);
}

.plant-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.35rem 1.5rem;
}

.plant-form-field {
	min-width: 0;
}

.plant-form-field label {
	display: block;
	margin-bottom: 0.5rem;
	color: #2d3931;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.4;
}

.plant-form-field--wide,
.plant-form-field--full {
	grid-column: 1 / -1;
}

.plant-form-input,
.plant-form-textarea,
.plant-form-file {
	width: 100%;
	border: 1px solid #d9e1dc;
	border-radius: 11px;
	background: #fbfcfb;
	box-sizing: border-box;
	color: #202822;
	font-family: inherit;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.plant-form-input {
	height: 48px;
	padding: 0 0.9rem;
}

.plant-form-textarea {
	min-height: 190px;
	padding: 0.9rem;
	line-height: 1.7;
	resize: vertical;
}

.plant-form-file {
	min-height: 48px;
	padding: 6px;
	background: #f8faf8;
	cursor: pointer;
}

.plant-form-input:hover,
.plant-form-textarea:hover,
.plant-form-file:hover {
	border-color: #b7c9bd;
}

.plant-form-input:focus,
.plant-form-textarea:focus,
.plant-form-file:focus {
	border-color: #176b47;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(23, 107, 71, 0.1);
	outline: 0;
}

.plant-form-file::file-selector-button {
	height: 34px;
	margin-right: 0.8rem;
	padding: 0 0.9rem;
	border: 0;
	border-radius: 8px;
	background: #e8f2eb;
	color: #176b47;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.plant-form-file::file-selector-button:hover {
	background: #176b47;
	color: #fff;
}

.plant-form-hint {
	margin: 0.5rem 0 0;
	color: #7b857f;
	font-size: 0.8rem;
	line-height: 1.5;
}

.plant-form-preview {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.85rem;
	padding: 0.5rem;
	border: 1px solid #e0e7e2;
	border-radius: 14px;
	background: #f6f8f6;
}

.plant-form-preview img {
	display: block;
	width: 220px;
	max-width: 100%;
	height: 180px;
	border-radius: 9px;
	object-fit: contain;
	background: #eef2ef;
}

.plant-form-photos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
	gap: 0.8rem;
	margin: 0 0 0.9rem;
	padding: 0;
	list-style: none;
}

.plant-form-photo-item {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 0.45rem;
	border: 1px solid #e0e7e2;
	border-radius: 12px;
	background: #f8faf8;
	color: #5f6963;
	font-size: 0.82rem;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plant-form-photo-item:hover {
	border-color: #b9d0c1;
	box-shadow: 0 7px 18px rgba(26, 65, 44, 0.08);
}

.plant-form-photo-item img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	object-fit: cover;
	background: #edf1ee;
}

.plant-form-photo-item span {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.plant-form-photo-item input[type='checkbox'] {
	accent-color: #b83a3a;
}

.plant-form-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	margin-top: 2rem;
	padding-top: 1.35rem;
	border-top: 1px solid #edf1ee;
}

.plant-form-actions .plant-edit-btn {
	min-width: 96px;
}

.plant-form-msg {
	margin: 1rem 0 0;
	padding: 0.8rem 1rem;
	border: 1px solid #f0c7c7;
	border-radius: 10px;
	background: #fff7f7;
	color: #a73434;
	font-size: 0.9rem;
}

@media (max-width: 700px) {
	.plant-form {
		padding: 1.25rem 1rem;
		border-radius: 15px;
	}

	.plant-form-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.plant-form-field--wide,
	.plant-form-field--full {
		grid-column: auto;
	}

	.plant-form-actions {
		position: sticky;
		bottom: 0;
		z-index: 5;
		margin-right: -1rem;
		margin-bottom: -1.25rem;
		margin-left: -1rem;
		padding: 0.9rem 1rem;
		border-top: 1px solid #e0e7e2;
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: blur(8px);
	}

	.plant-form-actions .plant-edit-btn {
		flex: 1;
	}
}
/* 상세 이미지 확대 가능 표시 */
.plant-detail-photo.is-active img {
	cursor: zoom-in;
}

/* 팝업이 열렸을 때 뒤쪽 스크롤 방지 */
html.plant-modal-open,
body.plant-modal-open {
	overflow: hidden;
}

/* 전체화면 이미지 팝업 */
.plant-image-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	box-sizing: border-box;
	background: rgba(8, 12, 10, 0.94);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	cursor: zoom-out;
}

.plant-image-modal[hidden] {
	display: none;
}

.plant-image-modal img {
	display: block;
	max-width: calc(100vw - 60px);
	max-height: calc(100vh - 60px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
	cursor: default;
}

/* 닫기 버튼 */
.plant-image-modal-close {
	position: fixed;
	top: 20px;
	right: 22px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 32px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.plant-image-modal-close:hover,
.plant-image-modal-close:focus {
	background: rgba(255, 255, 255, 0.25);
	transform: rotate(90deg);
	outline: none;
}

@media screen and (max-width: 600px) {
	.plant-image-modal {
		padding: 16px;
	}

	.plant-image-modal img {
		max-width: calc(100vw - 32px);
		max-height: calc(100vh - 32px);
		border-radius: 5px;
	}

	.plant-image-modal-close {
		top: 12px;
		right: 12px;
		width: 42px;
		height: 42px;
		font-size: 28px;
	}
}
