/* GlobalMemberCorp App Downloads */

.gm-app-card,
.gm-app-card *,
.gm-app-page *,
.gm-app-float *,
.gm-app-form * {
	box-sizing: border-box;
}

.gm-app-card {
	--gm-blue: #2f5dd4;
	--gm-blue-dark: #1b3a8f;
	--gm-ink: #101a33;
	--gm-muted: #5b6478;
	--gm-orange: #f36427;
	position: relative;
	overflow: hidden;
	margin: 24px 0;
	padding: clamp(24px, 4vw, 42px);
	border-radius: 24px;
	background:
		radial-gradient(120% 120% at 100% 0%, rgba(243, 100, 39, 0.28) 0%, rgba(243, 100, 39, 0) 45%),
		linear-gradient(145deg, #0d1834 0%, #1b3a8f 58%, #2f5dd4 100%);
	color: #fff;
	box-shadow: 0 24px 60px rgba(15, 28, 61, 0.28);
}

.gm-app-card::after {
	content: "";
	position: absolute;
	inset: auto -80px -120px auto;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.gm-app-card__head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 20px;
}

.gm-app-card__icon {
	width: 88px;
	height: 88px;
	flex: 0 0 88px;
	border-radius: 22px;
	object-fit: contain;
	background: #fff;
	padding: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.gm-app-card h2.gm-app-card__title,
.gm-app-card .gm-app-card__title {
	margin: 0 0 6px;
	color: #fff !important;
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	line-height: 1.25;
	font-weight: 700;
}

.gm-app-card__tagline {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1rem;
	line-height: 1.5;
}

.gm-app-card__desc {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 20px 0 24px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 1rem;
	line-height: 1.7;
}

.gm-app-card .gm-app-actions {
	position: relative;
	z-index: 1;
}

.gm-app-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 760px;
}

.gm-app-actions--inline {
	display: inline-flex;
	flex-wrap: wrap;
	max-width: 100%;
}

.gm-app-actions--center {
	justify-content: center;
}

.gm-app-actions--right {
	justify-content: flex-end;
}

.gm-app-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 12px 20px 12px 14px;
	border: 1px solid transparent;
	border-radius: 16px;
	background: #fff;
	color: var(--gm-ink, #101a33) !important;
	text-decoration: none !important;
	line-height: 1.2;
	box-shadow: 0 10px 24px rgba(5, 12, 32, 0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.gm-app-btn:hover,
.gm-app-btn:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(5, 12, 32, 0.26);
	color: var(--gm-ink, #101a33) !important;
}

.gm-app-btn:focus-visible {
	outline: 3px solid #ffd9c7;
	outline-offset: 2px;
}

.gm-app-btn--ios {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff !important;
	box-shadow: none;
}

.gm-app-btn--ios:hover,
.gm-app-btn--ios:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	color: #fff !important;
}

.gm-app-btn.is-disabled {
	opacity: 0.62;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.gm-app-btn.is-recommended {
	outline: 2px solid #ffb08a;
	outline-offset: 3px;
}

.gm-app-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	border-radius: 12px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.gm-app-badge--android {
	background: linear-gradient(145deg, #34a853, #1e7e3e);
	color: #fff;
}

.gm-app-badge--ios {
	background: linear-gradient(145deg, #f3f4f7, #cfd5e2);
	color: #101a33;
}

.gm-app-btn__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: left;
}

.gm-app-btn__label {
	font-size: 1rem;
	font-weight: 700;
}

.gm-app-btn__sub {
	font-size: 0.8rem;
	opacity: 0.72;
}

.gm-app-meta {
	position: relative;
	z-index: 1;
	margin: 20px 0 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
}

.gm-app-hint {
	position: relative;
	z-index: 1;
	margin: 8px 0 0;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.55);
}

/* Page content */

.gm-app-page,
.gm-app-legal {
	color: var(--gm-ink, #101a33);
	font-size: 1rem;
	line-height: 1.75;
}

.gm-app-page {
	max-width: 980px;
}

.gm-app-eyebrow {
	margin: 0 0 4px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gm-blue, #2f5dd4);
}

.gm-app-page h2,
.gm-app-legal h2 {
	margin: 2em 0 0.6em;
	font-size: clamp(1.2rem, 2.2vw, 1.55rem);
	line-height: 1.35;
	color: #242424;
}

.gm-app-page h3 {
	margin: 0 0 0.5em;
	font-size: 1.05rem;
	line-height: 1.4;
	color: #242424;
}

.gm-app-page p,
.gm-app-legal p {
	margin: 0 0 1em;
}

.gm-app-page ul,
.gm-app-page ol,
.gm-app-legal ul,
.gm-app-legal ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.gm-app-page li,
.gm-app-legal li {
	margin-bottom: 0.45em;
}

.gm-app-section {
	margin: 2.5em 0 0;
}

.gm-app-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 1em;
}

.gm-app-feature {
	padding: 20px;
	border: 1px solid #e3e9f6;
	border-radius: 16px;
	background: #f7f9fe;
}

.gm-app-feature p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--gm-muted, #5b6478);
}

.gm-app-details {
	margin: 0 0 12px;
	padding: 16px 18px;
	border: 1px solid #e3e9f6;
	border-radius: 14px;
	background: #fff;
}

.gm-app-details > summary {
	cursor: pointer;
	font-weight: 600;
	color: #1d2a4d;
}

.gm-app-details > summary:hover {
	color: var(--gm-blue, #2f5dd4);
}

.gm-app-details > *:not(summary) {
	margin-top: 12px;
}

.gm-app-details ol,
.gm-app-details ul {
	margin-bottom: 0;
}

.gm-app-note {
	font-size: 0.85rem;
	color: var(--gm-muted, #5b6478);
}

.gm-app-table {
	width: 100%;
	margin: 1em 0 1.5em;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.gm-app-table th,
.gm-app-table td {
	padding: 10px 12px;
	border: 1px solid #e3e9f6;
	text-align: left;
	vertical-align: top;
}

.gm-app-table th {
	background: #f2f6ff;
	font-weight: 600;
	color: #1d2a4d;
}

.gm-app-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 2.5em 0 0;
	padding-top: 1.2em;
	border-top: 1px solid #e3e9f6;
	font-size: 0.9rem;
}

.gm-app-legal-links a {
	color: var(--gm-blue, #2f5dd4);
	text-decoration: none;
}

.gm-app-legal-links a:hover {
	text-decoration: underline;
}

.gm-app-contact {
	margin: 1em 0 1.5em;
	padding: 18px 20px;
	border: 1px solid #e3e9f6;
	border-radius: 14px;
	background: #f7f9fe;
}

.gm-app-contact p {
	margin: 0 0 0.5em;
}

.gm-app-contact p:last-child {
	margin-bottom: 0;
}

/* Account deletion form */

.gm-app-form {
	max-width: 620px;
	margin: 1.5em 0;
	padding: 22px;
	border: 1px solid #e3e9f6;
	border-radius: 16px;
	background: #fff;
}

.gm-app-form__row {
	margin: 0 0 16px;
}

.gm-app-form__row label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.92rem;
}

.gm-app-form input[type="text"],
.gm-app-form input[type="email"],
.gm-app-form textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #cfd7e6;
	border-radius: 10px;
	background: #fff;
	color: #101a33;
	font-size: 0.95rem;
	line-height: 1.5;
}

.gm-app-form input:focus,
.gm-app-form textarea:focus {
	border-color: var(--gm-blue, #2f5dd4);
	outline: 2px solid rgba(47, 93, 212, 0.18);
	outline-offset: 1px;
}

.gm-app-form__row--check label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 500;
}

.gm-app-form__row--check input {
	margin-top: 4px;
}

.gm-app-required {
	color: #d63a3a;
}

.gm-app-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gm-app-form .gm-app-btn--primary {
	display: inline-flex;
	justify-content: center;
	min-height: auto;
	padding: 12px 24px;
	border: 0;
	border-radius: 12px;
	background: var(--gm-blue, #2f5dd4);
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
}

.gm-app-form .gm-app-btn--primary:hover {
	background: var(--gm-blue-dark, #1b3a8f);
}

.gm-app-alert {
	margin: 1.2em 0;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-size: 0.92rem;
}

.gm-app-alert--success {
	border-color: #b7e2c4;
	background: #eefaf1;
	color: #1e6b37;
}

.gm-app-alert--error {
	border-color: #f2c2c2;
	background: #fdf0f0;
	color: #a32626;
}

.gm-app-alert--warning {
	border-color: #f0d9a8;
	background: #fff9ea;
	color: #7a5a12;
}

/* Floating button */

.gm-app-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9999;
	font-family: inherit;
}

.gm-app-float__toggle {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--gm-blue, #2f5dd4);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(15, 28, 61, 0.32);
}

.gm-app-float__toggle:hover {
	background: var(--gm-blue-dark, #1b3a8f);
}

.gm-app-float__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	font-size: 0.95rem;
	line-height: 1;
}

.gm-app-float__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	min-width: 210px;
	padding: 8px;
	border: 1px solid #e3e9f6;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 28, 61, 0.2);
}

.gm-app-float__panel[hidden] {
	display: none;
}

.gm-app-float__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #101a33 !important;
	font-size: 0.9rem;
	text-decoration: none !important;
}

.gm-app-float__link:hover {
	background: #f2f6ff;
}

.gm-app-float__link.is-disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.gm-app-float .gm-app-badge {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 9px;
	font-size: 0.65rem;
}

@media (max-width: 768px) {
	.gm-app-grid {
		grid-template-columns: 1fr;
	}

	.gm-app-actions {
		grid-template-columns: 1fr;
	}

	.gm-app-card__head {
		align-items: flex-start;
	}

	.gm-app-card__icon {
		width: 68px;
		height: 68px;
		flex-basis: 68px;
		border-radius: 18px;
	}

	.gm-app-actions--inline {
		display: flex;
		width: 100%;
	}

	.gm-app-actions--inline .gm-app-btn {
		flex: 1 1 100%;
	}

	.gm-app-float {
		right: 14px;
		bottom: 14px;
	}

	.gm-app-form {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gm-app-btn,
	.gm-app-float__toggle {
		transition: none;
	}
}
