/* FlySearch SaaS Hub — public styles */

.fsh-pricing, .fsh-signup, .fsh-dashboard {
	max-width: 1100px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1a1a1a;
}

.fsh-notice {
	max-width: 700px;
	margin: 30px auto;
	padding: 20px;
	background: #E8F4FB;
	border-left: 4px solid #0d5c63;
	border-radius: 4px;
	font-size: 15px;
}

/* ── PRICING ─────────────────────────────────────────────── */
.fsh-pricing-header { text-align: center; margin-bottom: 30px; }
.fsh-pricing-header h2 { font-size: 34px; margin: 0 0 10px; font-weight: 700; }
.fsh-pricing-header p { font-size: 17px; color: #555; margin: 0; }

.fsh-cycle-toggle {
	display: flex; width: fit-content; margin: 20px auto 40px;
	background: #f3f4f6; border-radius: 999px; padding: 4px;
}
.fsh-cycle-btn {
	background: transparent; border: 0; padding: 10px 24px; border-radius: 999px;
	cursor: pointer; font-size: 14px; font-weight: 600; color: #6b7280;
}
.fsh-cycle-btn.is-active { background: #fff; color: #0d5c63; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.fsh-save { background: #e0892e; color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-left: 6px; font-weight: 700; }

.fsh-pricing-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px; margin: 30px 0;
}
.fsh-plan-card {
	background: #fff; border: 2px solid #e5e7eb; border-radius: 16px;
	padding: 32px 24px; position: relative; transition: all .2s;
}
.fsh-plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.fsh-plan-card.is-featured { border-color: #0d5c63; background: linear-gradient(180deg, #fff 0%, #f7fdfd 100%); }
.fsh-plan-card.is-current { border-color: #e0892e; }
.fsh-ribbon {
	position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
	background: #0d5c63; color: #fff; padding: 5px 16px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.fsh-plan-name { font-size: 20px; margin: 0 0 12px; font-weight: 700; }
.fsh-amount { font-size: 36px; font-weight: 800; color: #0d5c63; }
.fsh-period { color: #6b7280; font-size: 14px; margin-left: 4px; }
.fsh-plan-credits {
	background: #f0fdfa; color: #0d5c63; padding: 10px 14px; border-radius: 8px;
	font-size: 13px; margin: 16px 0 20px; text-align: center;
}
.fsh-plan-credits strong { font-size: 18px; }
.fsh-features { list-style: none; margin: 0 0 24px; padding: 0; }
.fsh-features li { padding: 7px 0; color: #374151; font-size: 13.5px; border-bottom: 1px solid #f3f4f6; }
.fsh-features li:last-child { border-bottom: 0; }

.fsh-btn {
	display: block; width: 100%; background: #0d5c63; color: #fff !important;
	padding: 13px; border-radius: 10px; text-align: center; font-weight: 700;
	text-decoration: none; border: 0; cursor: pointer; font-size: 15px;
	box-sizing: border-box; transition: background .15s;
}
.fsh-btn:hover { background: #0a4a50; }
.fsh-btn.is-disabled { background: #d1d5db; color: #6b7280 !important; cursor: not-allowed; }
.fsh-plan-card.is-featured .fsh-btn { background: #e0892e; }
.fsh-plan-card.is-featured .fsh-btn:hover { background: #c67723; }
.fsh-btn-outline {
	background: transparent; color: #0d5c63 !important;
	border: 1.5px solid #0d5c63;
}
.fsh-btn-outline:hover { background: #f0fdfa; color: #0d5c63 !important; }
.fsh-note { text-align: center; color: #6b7280; font-size: 13px; margin-top: 30px; }

/* ── SIGNUP ─────────────────────────────────────────────── */
.fsh-signup-card {
	max-width: 460px; margin: 0 auto; background: #fff;
	border: 1px solid #e5e7eb; border-radius: 16px; padding: 40px 34px;
	box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.fsh-signup-card h2 { font-size: 26px; margin: 0 0 8px; text-align: center; }
.fsh-lead { color: #6b7280; font-size: 15px; text-align: center; margin: 0 0 24px; }
.fsh-error {
	background: #fef2f2; color: #991b1b; padding: 12px 14px;
	border-radius: 8px; font-size: 14px; margin-bottom: 16px;
}
.fsh-form label { display: block; margin-bottom: 14px; }
.fsh-form label span { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.fsh-form label em { font-style: normal; color: #9ca3af; font-weight: normal; }
.fsh-form input {
	width: 100%; padding: 12px 14px; border: 1.5px solid #d1d5db;
	border-radius: 8px; font-size: 15px; box-sizing: border-box;
	color: #1a1a1a; background: #fff;
}
.fsh-form input:focus { outline: 0; border-color: #0d5c63; box-shadow: 0 0 0 3px rgba(13,92,99,.12); }
.fsh-alt { text-align: center; color: #6b7280; font-size: 14px; margin: 18px 0 0; }
.fsh-alt a { color: #0d5c63; font-weight: 600; }

/* ── DASHBOARD ──────────────────────────────────────────── */
.fsh-banner {
	background: linear-gradient(90deg, #E8F4FB 0%, #f0fdfa 100%);
	border: 1px solid #b7e4e8; color: #0d5c63;
	padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-size: 15px;
}
.fsh-dash-header {
	display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.fsh-dash-header h2 { font-size: 26px; margin: 0; }
.fsh-logout { color: #6b7280; font-size: 14px; text-decoration: none; }
.fsh-logout:hover { color: #dc2626; }

/* License card — spotlight design */
.fsh-license-card {
	background: linear-gradient(135deg, #0d5c63 0%, #12a5b0 100%);
	color: #fff; border-radius: 16px; padding: 28px; margin-bottom: 24px;
	box-shadow: 0 10px 30px rgba(13,92,99,.2);
}
.fsh-license-head {
	display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 16px;
}
.fsh-license-head h3 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; opacity: .85; font-weight: 600; }
.fsh-license-status {
	background: rgba(255,255,255,.15); color: #fff; padding: 4px 12px;
	border-radius: 999px; font-size: 12px; font-weight: 600;
}
.fsh-license-key {
	display: flex; gap: 10px; margin-bottom: 16px;
}
.fsh-license-key input {
	flex: 1; background: rgba(255,255,255,.15); border: 0; color: #fff;
	padding: 14px 16px; border-radius: 10px; font-family: ui-monospace, monospace;
	font-size: 16px; font-weight: 600; letter-spacing: 1px;
}
.fsh-copy {
	background: #fff; color: #0d5c63; border: 0; padding: 0 20px;
	border-radius: 10px; font-weight: 700; cursor: pointer; font-size: 14px;
}
.fsh-copy:hover { background: #f0fdfa; }
.fsh-domain-info {
	background: rgba(255,255,255,.1); padding: 10px 14px; border-radius: 8px;
	font-size: 13.5px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}
.fsh-domain-free { background: rgba(255,255,255,.05); font-style: italic; opacity: .85; }
.fsh-unlock {
	background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff;
	padding: 5px 12px; border-radius: 6px; font-size: 12px; cursor: pointer;
}
.fsh-unlock:hover { background: rgba(255,255,255,.15); }
.fsh-download { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fsh-license-card .fsh-btn-outline {
	background: rgba(255,255,255,.1); color: #fff !important; border-color: rgba(255,255,255,.35);
	width: auto; padding: 12px 20px;
}
.fsh-license-card .fsh-btn-outline:hover { background: rgba(255,255,255,.2); color: #fff !important; }
.fsh-hint { color: rgba(255,255,255,.85); font-size: 13px; }

.fsh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 30px; }
.fsh-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; }
.fsh-card h3 { font-size: 13px; color: #6b7280; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 14px; font-weight: 600; }

.fsh-balance { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.fsh-num { font-size: 34px; font-weight: 800; color: #0d5c63; }
.fsh-total { color: #9ca3af; font-size: 15px; }
.fsh-progress { background: #f3f4f6; border-radius: 999px; height: 8px; overflow: hidden; margin-bottom: 10px; }
.fsh-progress-fill { background: linear-gradient(90deg, #0d5c63 0%, #12a5b0 100%); height: 100%; }
.fsh-plan-name { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.fsh-plan-meta { font-size: 13.5px; color: #4b5563; margin-bottom: 16px; }
.fsh-plan-meta div { padding: 4px 0; }

.fsh-steps { padding-left: 20px; margin: 0; color: #374151; font-size: 14px; line-height: 1.8; }
.fsh-steps code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 12.5px; }

.fsh-history { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; }
.fsh-history h3 { font-size: 13px; color: #6b7280; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 16px; font-weight: 600; }
.fsh-empty { color: #9ca3af; font-size: 14px; text-align: center; padding: 20px 0; }
.fsh-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fsh-table th { text-align: left; padding: 10px 8px; color: #6b7280; font-weight: 600; border-bottom: 1px solid #e5e7eb; font-size: 12px; text-transform: uppercase; letter-spacing: .3px; }
.fsh-table td { padding: 12px 8px; border-bottom: 1px solid #f3f4f6; color: #374151; }
.fsh-plus { color: #059669; font-weight: 700; }
.fsh-minus { color: #dc2626; font-weight: 600; }

@media (max-width: 640px) {
	.fsh-pricing, .fsh-signup, .fsh-dashboard { padding: 24px 14px; }
	.fsh-pricing-header h2 { font-size: 26px; }
	.fsh-plan-card { padding: 24px 20px; }
	.fsh-license-key { flex-direction: column; }
	.fsh-copy { padding: 12px; }
}
