@import "@automattic/typography/styles/variables";
@import "@wordpress/base-styles/breakpoints";

$recoleta-font-family: "Recoleta", sans-serif;
$font-sf-pro-text: "SF Pro Text", $sans;

.invite-accept-logged-in__join-as {
	color: var(--color-neutral-60);
	font-size: $font-title-small;
	line-height: 24px;
	text-align: center;
}

.invite-accept-logged-in {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	font-family: $font-sf-pro-text;

	.invite-form-header__title {
		color: var(--studio-gray-100, #2c3338);
		text-align: center;
		font-family: $recoleta-font-family;
		font-size: 2rem;
		line-height: 1.26;
	}

	.invite-form-header__explanation {
		color: var(--studio-gray-50, #2c3338);
		text-align: center;
		margin-top: 6px;
		font-size: 14px;
	}

	.card {
		box-shadow: none;
		padding: 0;
		margin: 0;
		background: none;
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		max-height: 768px;
	}
}

.invite-accept-logged-in__join-as-username {
	color: var(--studio-gray-100, #2c3338);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
}

.invite-accept-logged-in__join-as-email {
	font-size: 12px;
}

.invite-accept-logged-in__join-as .gravatar {
	display: block;
	margin: 2px auto 12px;
	border: 1px solid var(--studio-gray-5);
}

.invite-accept-logged-in__button-bar {
	display: flex;
	width: 340px;
}

.invite-accept-logged-in__button-bar .components-button {
	flex-basis: 0;
	flex-grow: 1;
	margin: 4px;
	justify-content: center;

	&:first-child {
		margin-left: 0;
	}

	&:last-child {
		margin-right: 0;
	}
}

.logged-out-form__link-item {
	color: var(--color-link);
	font-size: 12px;
}
