/* thevitaminshots Account Hub — login form */

.tvsauth-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 8px 0 28px;
	box-sizing: border-box;
}

.tvsauth-card {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border: 1px solid rgba(26, 23, 18, .08);
	border-radius: 22px;
	padding: 34px 30px 30px;
	box-shadow: 0 18px 46px -22px rgba(26, 23, 18, .35);
	box-sizing: border-box;
	font-size: 16px;
	line-height: 1.5;
	animation: tvsauth-rise .35s ease both;
}

@keyframes tvsauth-rise {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

.tvsauth-logo {
	text-align: center;
	margin-bottom: 18px;
}

.tvsauth-logo img {
	display: inline-block;
	width: var(--tvsauth-logo-w, 150px);
	max-width: 70%;
	height: auto;
}

.tvsauth-heading {
	margin: 0 0 6px;
	text-align: center;
	font-size: 26px;
	line-height: 1.25;
	font-weight: 700;
	color: var(--tvsauth-ink, #1A1712);
}

.tvsauth-sub {
	margin: 0 0 22px;
	text-align: center;
	font-size: 15px;
	color: #6d675e;
}

.tvsauth-alert {
	display: none;
	margin: 0 0 16px;
	padding: 11px 14px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.45;
}

.tvsauth-alert.is-visible { display: block; }
.tvsauth-alert--error { background: #fdeceb; color: #a32118; border: 1px solid #f5c9c5; }
.tvsauth-alert--ok    { background: #edf7ee; color: #1e6b2c; border: 1px solid #c8e6cd; }

/* Social buttons */
.tvsauth-social {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tvsauth-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	padding: 13px 18px;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease;
}

.tvsauth-social-btn:hover { transform: translateY(-1px); }
.tvsauth-social-btn:active { transform: none; }
.tvsauth-social-btn:focus-visible { outline: 3px solid var(--tvsauth-brand, #F1C349); outline-offset: 2px; }

.tvsauth-social-btn--google {
	background: #fff;
	color: #24211d !important;
	border: 1px solid #dcd8d0;
}

.tvsauth-social-btn--google:hover { box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); }

.tvsauth-social-btn--apple {
	background: #000;
	color: #fff !important;
	border: 1px solid #000;
}

.tvsauth-social-icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

/* Divider */
.tvsauth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: #9b958b;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.tvsauth-divider::before,
.tvsauth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(26, 23, 18, .12);
}

/* Steps */
.tvsauth-step { display: none; }
.tvsauth-step.is-active { display: block; animation: tvsauth-fade .25s ease both; }

@keyframes tvsauth-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.tvsauth-label {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tvsauth-ink, #1A1712);
}

.tvsauth-input {
	width: 100%;
	min-height: 52px;
	padding: 13px 15px;
	border: 1px solid #d9d4cb;
	border-radius: 13px;
	background: #fcfbf9;
	font-size: 16px; /* keeps iOS from zooming */
	color: var(--tvsauth-ink, #1A1712);
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.tvsauth-input:focus {
	outline: none;
	background: #fff;
	border-color: var(--tvsauth-brand, #F1C349);
	box-shadow: 0 0 0 4px rgba(241, 195, 73, .28);
}

.tvsauth-input.is-error {
	border-color: #d9534f;
	box-shadow: 0 0 0 4px rgba(217, 83, 79, .18);
}

.tvsauth-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 14px 0 4px;
	font-size: 13.5px;
	line-height: 1.45;
	color: #6d675e;
	cursor: pointer;
}

.tvsauth-check input {
	margin: 2px 0 0;
	width: 17px;
	height: 17px;
	accent-color: var(--tvsauth-brand, #F1C349);
	flex: none;
}

/* CTA */
.tvsauth-cta {
	display: block;
	width: 100%;
	min-height: 54px;
	margin-top: 16px;
	padding: 15px 20px;
	border: none;
	border-radius: 14px;
	background: var(--tvsauth-brand, #F1C349);
	color: var(--tvsauth-cta-text, #fff);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .01em;
	cursor: pointer;
	box-shadow: 0 10px 24px -14px var(--tvsauth-brand, #F1C349);
	transition: filter .15s ease, transform .12s ease, opacity .15s ease;
}

.tvsauth-cta:hover { filter: brightness(.96); transform: translateY(-1px); }
.tvsauth-cta:active { transform: none; }
.tvsauth-cta:focus-visible { outline: 3px solid var(--tvsauth-ink, #1A1712); outline-offset: 2px; }
.tvsauth-cta[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.tvsauth-cta.is-busy { position: relative; color: transparent; }

.tvsauth-cta.is-busy::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2.5px solid rgba(255, 255, 255, .35);
	border-top-color: var(--tvsauth-cta-text, #fff);
	border-radius: 50%;
	animation: tvsauth-spin .7s linear infinite;
}

@keyframes tvsauth-spin { to { transform: rotate(360deg); } }

/* Code step */
.tvsauth-sentto {
	margin: 0 0 16px;
	font-size: 14.5px;
	color: #6d675e;
	text-align: center;
	word-break: break-word;
}

.tvsauth-sentto strong { color: var(--tvsauth-ink, #1A1712); }

.tvsauth-code {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 4px;
}

.tvsauth-code input {
	width: 46px;
	height: 56px;
	padding: 0;
	border: 1px solid #d9d4cb;
	border-radius: 12px;
	background: #fcfbf9 !important;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--tvsauth-ink, #1A1712) !important;
	opacity: 1 !important;
	visibility: visible !important;
	box-sizing: border-box;
	-moz-appearance: textfield;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-shadow: none !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.tvsauth-code input::-webkit-outer-spin-button,
.tvsauth-code input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.tvsauth-code input:focus {
	outline: none;
	background: #fff;
	border-color: var(--tvsauth-brand, #F1C349);
	box-shadow: 0 0 0 4px rgba(241, 195, 73, .28);
}

.tvsauth-code.is-error input { border-color: #d9534f; }

.tvsauth-name-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 16px;
}

.tvsauth-birthday-field {
	grid-column: 1 / -1;
}

.tvsauth-birthday-field .tvsauth-label {
	margin-bottom: 6px;
	font-size: 13px;
}

.tvsauth-name-fields .tvsauth-input.is-error {
	border-color: #d9534f;
	box-shadow: 0 0 0 4px rgba(217, 83, 79, .18);
}

.tvsauth-actions {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
}

.tvsauth-link {
	background: none;
	border: none;
	padding: 6px 2px;
	font-size: 14px;
	font-weight: 600;
	color: #6d675e;
	text-decoration: underline;
	cursor: pointer;
}

.tvsauth-link:hover { color: var(--tvsauth-ink, #1A1712); }
.tvsauth-link[disabled] { opacity: .55; cursor: default; text-decoration: none; }

.tvsauth-toggle-native {
	display: block;
	width: 100%;
	margin-top: 18px;
	text-align: center;
}

.tvsauth-legal {
	margin: 18px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: #9b958b;
	text-align: center;
}

.tvsauth-legal a { color: #6d675e; }

.tvsauth-signedin { margin: 0; text-align: center; }

/* Mobile */
@media (max-width: 520px) {
	.tvsauth-card {
		max-width: 100%;
		padding: 26px 20px 24px;
		border-radius: 18px;
		box-shadow: 0 12px 32px -22px rgba(26, 23, 18, .4);
	}

	.tvsauth-heading { font-size: 22px; }
	.tvsauth-sub { font-size: 14px; }
	.tvsauth-code { gap: 6px; }
	.tvsauth-code input { width: 100%; max-width: 48px; height: 52px; font-size: 20px; }
	.tvsauth-name-fields { grid-template-columns: 1fr; }
	.tvsauth-actions { flex-direction: column; align-items: center; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.tvsauth-card,
	.tvsauth-step { animation: none; }
	.tvsauth-cta:hover,
	.tvsauth-social-btn:hover { transform: none; }
}

/* Security check */
.tvsauth-captcha {
	display: flex;
	justify-content: center;
	margin-top: 16px;
	min-height: 0;
}

.tvsauth-captcha:empty { margin-top: 0; }

.tvsauth-captcha iframe { max-width: 100%; }

@media (max-width: 380px) {
	.tvsauth-captcha {
		transform: scale(.86);
		transform-origin: center top;
	}
}
