/* Lobthru Subscription — front-end styles */

.lobthru-popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
}
.lobthru-popup-overlay.is-visible {
	display: flex;
}
.lobthru-popup-box {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
}
.lobthru-popup-box img {
	max-width: 100%;
	max-height: 90vh;
	border-radius: 8px;
	display: block;
}
.lobthru-popup-close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #fff;
	border: none;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.lobthru-box {
	max-width: 480px;
	margin: 0 auto;
	padding: 28px;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	background: #fff;
}
.lobthru-plans-wrap {
	max-width: 720px;
}
.lobthru-form label {
	display: block;
	margin-bottom: 14px;
	font-size: 14px;
	font-weight: 600;
	color: #222;
}
.lobthru-form input[type="text"],
.lobthru-form input[type="email"],
.lobthru-form input[type="password"],
.lobthru-form input[type="file"],
.lobthru-form select {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: normal;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}
.lobthru-phone-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
}
.lobthru-phone-prefix {
	padding: 10px 12px;
	background: #f2f2f2;
	border-radius: 6px;
	font-weight: 600;
}
.lobthru-phone-row input {
	margin-top: 0;
}
.lobthru-form button[type="submit"] {
	width: 100%;
	padding: 12px;
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.lobthru-form button[type="submit"]:disabled {
	opacity: 0.6;
	cursor: default;
}
.lobthru-link-btn {
	display: block;
	margin: 10px auto 0;
	background: none;
	border: none;
	color: #1a73e8;
	cursor: pointer;
	font-size: 13px;
}
.lobthru-error {
	color: #c0392b;
	font-size: 13px;
	margin-bottom: 12px;
}
.lobthru-success {
	color: #1e7e34;
	font-weight: 600;
	text-align: center;
}
.lobthru-notice {
	padding: 14px 16px;
	background: #f2f7ff;
	border: 1px solid #cfe2ff;
	border-radius: 6px;
}
.lobthru-notice-warn {
	background: #fff8e6;
	border-color: #ffe08a;
}
.lobthru-sub {
	color: #666;
	font-size: 13px;
	margin-top: -6px;
	margin-bottom: 18px;
}

.lobthru-status {
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 15px;
}
.lobthru-status-active { background: #e9f9ee; color: #146c2e; }
.lobthru-status-trial { background: #fff8e6; color: #8a6d00; }
.lobthru-status-expired { background: #fdecea; color: #a12b1f; }

.lobthru-plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}
.lobthru-plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
	border: 2px solid #e5e5e5;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
}
.lobthru-plan-card input {
	position: absolute;
	top: 10px;
	left: 10px;
}
.lobthru-plan-card:has(input:checked) {
	border-color: #1a73e8;
	background: #f2f7ff;
}
.lobthru-plan-name { font-weight: 600; }
.lobthru-plan-price { font-size: 20px; font-weight: 700; }
.lobthru-plan-save { font-size: 12px; color: #1e7e34; font-weight: 600; }

.lobthru-bank-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin-bottom: 20px;
}
.lobthru-bank-card {
	padding: 14px;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	font-size: 14px;
}
.lobthru-bank-card h4 { margin: 0 0 8px; }
.lobthru-bank-card p { margin: 2px 0; }
.lobthru-qr {
	max-width: 140px;
	margin-top: 10px;
	border: 1px solid #eee;
	border-radius: 6px;
}
