/* Feedbackgram Portal — registration form styles (Stage 1).
 * Brand: Feedbackgram live site — Livvic font, teal #14B1BB primary,
 * darker teal #0F7A81 hover, text #7A7A7A, on white.
 * Logo: assets/images/logo.png (site logo, transparent background).
 *
 * v1.2.1 polish: soft card shell, gradient section headings, plan
 * options as selectable cards, teal-gradient submit, mobile stacking.
 */

.fg-registration-form {
	max-width: 680px;
	margin: 0 auto;
	font-family: "Livvic", "Roboto", sans-serif;
	color: #54595f;
	background: #fff;
	border: 1px solid #e6ecec;
	border-radius: 16px;
	padding: 28px 32px;
	box-shadow: 0 4px 24px rgba(9, 29, 52, .08);
}

.fg-registration-form .fg-brand {
	text-align: center;
	margin-bottom: 1.6em;
}

.fg-registration-form .fg-brand img {
	width: 120px;
	height: auto;
}

.fg-registration-form .fg-brand p {
	margin: 0.4em 0 0;
	color: #7a7a7a;
	font-size: 0.95em;
}

.fg-registration-form h3 {
	margin-top: 1.8em;
	margin-bottom: .8em;
	border-bottom: 2px solid #14b1bb;
	padding-bottom: 0.45em;
	color: #0f7a81;
	font-family: "Livvic", "Roboto", sans-serif;
	font-weight: 600;
	font-size: 20px;
}

.fg-registration-form .fg-field {
	margin: 0 0 1.1em;
}

.fg-registration-form .fg-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
	color: #54595f;
}

.fg-registration-form .fg-field input[type="text"],
.fg-registration-form .fg-field input[type="email"],
.fg-registration-form .fg-field input[type="tel"],
.fg-registration-form .fg-field input[type="url"],
.fg-registration-form .fg-field input[type="password"],
.fg-registration-form .fg-field select {
	width: 100%;
	padding: 0.65em 0.8em;
	box-sizing: border-box;
	border: 1px solid #c7c4c4;
	border-radius: 8px;
	font-family: "Livvic", "Roboto", sans-serif;
	font-size: 15px;
	color: #54595f;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.fg-registration-form .fg-field input:focus,
.fg-registration-form .fg-field select:focus {
	border-color: #14b1bb;
	outline: none;
	box-shadow: 0 0 0 3px rgba(20, 177, 187, 0.18);
}

.fg-registration-form .fg-field input[type="checkbox"] {
	accent-color: #14b1bb;
	width: 17px;
	height: 17px;
	vertical-align: -3px;
	margin-right: 6px;
}

.fg-registration-form .fg-field small {
	display: block;
	color: #7a7a7a;
	margin-top: 0.3em;
}

.fg-registration-form .fg-row {
	display: flex;
	gap: 1em;
}

.fg-registration-form .fg-row .fg-field {
	flex: 1;
}

.fg-registration-form .required {
	color: #b00;
}

/* Outreach log form (v1.9.4, member portal "My Outreach" tab):
 * same field styling as the registration form, plus the date
 * inputs and textareas the registration form does not use. */
.fg-outreach-form .fg-field {
	margin: 0 0 1.1em;
}
.fg-outreach-form .fg-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
	color: #54595f;
}
.fg-outreach-form .fg-field input[type="text"],
.fg-outreach-form .fg-field input[type="date"],
.fg-outreach-form .fg-field select,
.fg-outreach-form .fg-field textarea {
	width: 100%;
	padding: 0.65em 0.8em;
	box-sizing: border-box;
	border: 1px solid #c7c4c4;
	border-radius: 8px;
	font-family: "Livvic", "Roboto", sans-serif;
	font-size: 15px;
	color: #54595f;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.fg-outreach-form .fg-field input:focus,
.fg-outreach-form .fg-field select:focus,
.fg-outreach-form .fg-field textarea:focus {
	border-color: #14b1bb;
	outline: none;
	box-shadow: 0 0 0 3px rgba(20, 177, 187, 0.18);
}
.fg-outreach-form .fg-field small {
	display: block;
	color: #7a7a7a;
	margin-top: 0.3em;
}
.fg-outreach-form .fg-row {
	display: flex;
	gap: 1em;
}
.fg-outreach-form .fg-row .fg-field {
	flex: 1;
}
.fg-outreach-form .required {
	color: #b00;
}

/* Interactive term pricing table (v1.2.2): the term is picked by the
 * radio in the column header; the chosen column highlights. */
.fg-registration-form .fg-price-table th label,
.fg-registration-form .fg-price-table td label {
	cursor: pointer;
	display: block;
	margin-bottom: 0;
}
.fg-registration-form .fg-price-table input[type="radio"],
.fg-registration-form .fg-price-table input[type="checkbox"] {
	accent-color: #14b1bb;
	width: 17px;
	height: 17px;
	vertical-align: -3px;
	margin-right: 6px;
}
.fg-registration-form .fg-price-table th[data-term],
.fg-registration-form .fg-price-table td[data-term] {
	transition: background .15s ease;
}
.fg-registration-form .fg-price-table[data-active-term="1"] th[data-term="1"],
.fg-registration-form .fg-price-table[data-active-term="1"] td[data-term="1"],
.fg-registration-form .fg-price-table[data-active-term="3"] th[data-term="3"],
.fg-registration-form .fg-price-table[data-active-term="3"] td[data-term="3"],
.fg-registration-form .fg-price-table[data-active-term="6"] th[data-term="6"],
.fg-registration-form .fg-price-table[data-active-term="6"] td[data-term="6"],
.fg-registration-form .fg-price-table[data-active-term="12"] th[data-term="12"],
.fg-registration-form .fg-price-table[data-active-term="12"] td[data-term="12"] {
	background: #d9f1f2;
}
.fg-registration-form .fg-price-table tbody tr:has(input:checked) {
	background: #f4fbfb;
}
.fg-registration-form .fg-price-table tbody tr:has(input:checked) td[data-term] {
	font-weight: 600;
	color: #0f7a81;
}

.fg-registration-form .fg-total {
	background: linear-gradient(135deg, #eafafa, #e6f7f8);
	border: 1px solid #cdeff1;
	border-left: 4px solid #14b1bb;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 1em 0;
	font-size: 1.05em;
}
.fg-registration-form .fg-total strong {
	color: #0f7a81;
}
.fg-registration-form .fg-total-empty {
	color: #7a7a7a;
	font-style: italic;
	margin: 1em 0;
}

.fg-registration-form .fg-plan-price {
	color: #0f7a81;
	font-weight: 600;
	margin-left: 0.4em;
}

/* Payment frequency choice (v1.6.0): a bordered option box so the
   two ways to pay read as one clear choice. */
.fg-registration-form .fg-frequency-options {
	border: 1px solid #cdeff1;
	border-radius: 10px;
	background: #fbfefe;
	padding: 14px 18px;
}
.fg-registration-form .fg-frequency-options .fg-radio {
	display: block;
	padding: 5px 0;
	font-weight: 600;
}
.fg-registration-form .fg-frequency-options .fg-label {
	font-weight: 700;
	color: #0f7a81;
}

.fg-registration-form .fg-price-table-wrap {
	overflow-x: auto;
	margin: 0.5em 0 1em;
}

.fg-registration-form .fg-price-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.95em;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(9, 29, 52, .05);
}

.fg-registration-form .fg-price-table th,
.fg-registration-form .fg-price-table td {
	border: 1px solid #e6ecec;
	padding: 0.55em 0.7em;
	text-align: left;
}

.fg-registration-form .fg-price-table th {
	background: linear-gradient(180deg, #eefafa, #e6f7f8);
	color: #0f7a81;
	font-weight: 600;
}

.fg-registration-form .fg-price-table tbody tr:hover {
	background: #f8fcfc;
}

.fg-registration-form .fg-terms label {
	font-weight: 400;
}

.fg-registration-form .fg-submit {
	background: linear-gradient(135deg, #14b1bb, #0f7a81);
	border: 1px solid #0f7a81;
	color: #fff;
	font-family: "Livvic", "Roboto", sans-serif;
	font-weight: 600;
	font-size: 16px;
	padding: 0.8em 2.2em;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(15, 122, 129, .25);
	transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.fg-registration-form .fg-submit:hover,
.fg-registration-form .fg-submit:focus {
	background: linear-gradient(135deg, #14b1bb, #0f7a81);
	border-color: #0f7a81;
	color: #fff;
	filter: brightness(1.06);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(15, 122, 129, .32);
}

.fg-errors {
	background: #fdecea;
	border: 1px solid #f5c6cb;
	border-left: 4px solid #c0392b;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 1.2em;
}

.fg-errors ul {
	margin: 0.4em 0 0.2em 1.2em;
}

.fg-success {
	background: #e6f4ea;
	border: 1px solid #a3d9a5;
	border-left: 4px solid #2e7d32;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 1.2em;
}

.fg-notice {
	background: #fff8e1;
	border: 1px solid #ffe082;
	border-left: 4px solid #f0b429;
	border-radius: 12px;
	padding: 16px 20px;
}

/* Honeypot: off-screen, never display:none (bots notice that).
 * (v1.9.8.7: this rule previously existed only in fg-portal-app.css,
 * so the honeypot on the registration form and the public forms —
 * which load this stylesheet — rendered visibly.) */
.fg-honeypot {
	position: absolute !important;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

@media (max-width: 560px) {
	.fg-registration-form {
		padding: 20px 18px;
		border-radius: 12px;
	}
	.fg-registration-form .fg-row {
		flex-direction: column;
		gap: 0;
	}
	.fg-registration-form .fg-submit {
		width: 100%;
	}
	.fg-registration-form .fg-price-table {
		font-size: 0.85em;
	}
	.fg-registration-form .fg-price-table th,
	.fg-registration-form .fg-price-table td {
		padding: 0.4em 0.5em;
	}
}

/* Pricing table on phones (v1.9.8.7): the five columns (Plan +
 * four terms) must not be crushed into the card — below 767px the
 * table keeps a readable minimum width inside its scrollable
 * wrap, so every term column, including 1 Year, stays reachable
 * by swiping. Desktop rendering is untouched. */
@media (max-width: 767px) {
	.fg-registration-form .fg-price-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		max-width: 100%;
	}
	.fg-registration-form .fg-price-table {
		min-width: 580px;
	}
}

/* Categories hub: "More feedback categories" link block, appended
   by FG_SEO_Extras::hub_links() on the hub page only (v1.9.8.5);
   this stylesheet is enqueued there by FG_SEO_Extras::hub_assets(). */
.fg-hub-more {
	margin: 2em 0;
}

.fg-hub-more h2 {
	margin: 0 0 0.6em;
}

.fg-hub-more ul {
	margin: 0;
	padding-left: 1.2em;
}

.fg-hub-more li {
	margin: 0.3em 0;
}

.fg-hub-more a {
	color: #14B1BB;
	text-decoration: none;
}

.fg-hub-more a:hover {
	color: #0F7A81;
	text-decoration: underline;
}
