/**
 * Fuchsia rebrand visual overrides for Yii2 OAuth/auth layouts.
 * Loaded only when FLAG_ENABLE_FUCHSIA is enabled.
 */

#image_bg {
	background-image: url('https://assets.cushon.co.uk/transform/b7f179b8-6bc8-4e61-9d5d-bbecc213a3f9/cushon-logo-primary-onLight?io=transform:fill,width:137,height:54') !important;
	background-size: 137px 54px !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	width: 137px !important;
	height: 54px !important;
}

#consolidation {
	background-image: none !important;
	background-color: rgb(253 251 255) !important;
}

.fixed-header.fixed-header--fuchsia {
	padding: 12px 0;
}

.fixed-header.fixed-header--fuchsia .top-img-container {
	display: flex;
	align-items: center;
	padding: 0;
}

.fixed-header.fixed-header--fuchsia .fixed-header-logo {
	margin-left: 32.5px;
}

:root {
	--brand-one: #df0096;
	--brand-secondary: #41056d;
	--brand-one-hover: #a7006d;

	--btn-primary-bg: var(--brand-one);
	--btn-primary-bg-hover: var(--brand-one-hover);
	--btn-primary-bg-pressed: #93005f;
	--btn-primary-border: var(--brand-one);
	--btn-primary-border-hover: var(--brand-one-hover);
	--btn-primary-border-pressed: #93005f;
	--btn-primary-text: #fff;

	--btn-secondary-bg: #fff;
	--btn-secondary-bg-hover: #f4e8fd;
	--btn-secondary-bg-pressed: #ead2fb;
	--btn-secondary-border: var(--brand-secondary);
	--btn-secondary-border-hover: #35035a;
	--btn-secondary-border-pressed: #280144;
	--btn-secondary-text: var(--brand-secondary);
	--btn-secondary-text-hover: #35035a;
	--btn-secondary-text-pressed: #280144;
}

/*
 * Journey buttons use --button-primary-* tokens from journey.css.
 * Remap those tokens to the shared btn-primary palette used in this override file.
 */
.cushon-light,
.cushon-dark {
	--button-primary-enabled-color: var(--btn-primary-text);
	--button-primary-enabled-background-color: var(--btn-primary-bg);
	--button-primary-enabled-border-color: var(--btn-primary-border);
	--button-primary-hover-background-color: var(--btn-primary-bg-hover);
	--button-primary-hover-border-color: var(--btn-primary-border-hover);
	--text-on-feedback-active-color: var(--btn-primary-text);
}

.bg-secondary50 {
	background-color: #fdfbff !important;
}

.Input_input-wrapper__40vr_:focus-within {
	outline: 2px solid var(--brand-secondary) !important;
}

.login .panel-heading h2 {
	color: var(--brand-secondary) !important;
}

.btn.btn-primary,
.btn-primary {
	background-color: var(--btn-primary-bg) !important;
	border-color: var(--btn-primary-border) !important;
	color: var(--btn-primary-text) !important;
	border-radius: 5px;
	text-transform: none !important;
	letter-spacing: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 18px;
	font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
	box-shadow: none;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
	background-color: var(--btn-primary-bg-hover) !important;
	border-color: var(--btn-primary-border-hover) !important;
	color: var(--btn-primary-text) !important;
}

.btn.btn-primary:active,
.btn.btn-primary.active,
.btn-primary:active,
.btn-primary.active {
	background-color: var(--btn-primary-bg-pressed) !important;
	border-color: var(--btn-primary-border-pressed) !important;
	color: var(--btn-primary-text) !important;
}

.btn-grey,
.btn.btn-grey,
a.btn.btn-grey,
a.btn.btn-grey:focus,
a.btn.btn-grey:hover {
	border: 2px solid var(--btn-secondary-border) !important;
	border-radius: 5px;
	background-color: var(--btn-secondary-bg) !important;
	color: var(--btn-secondary-text) !important;
	text-decoration: none !important;
	text-transform: none;
	letter-spacing: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 18px;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.btn-grey:hover,
.btn-grey:focus,
.btn.btn-grey:hover,
.btn.btn-grey:focus,
a.btn.btn-grey:hover,
a.btn.btn-grey:focus {
	background-color: var(--btn-secondary-bg-hover) !important;
	border-color: var(--btn-secondary-border-hover) !important;
	color: var(--btn-secondary-text-hover) !important;
	text-decoration: none !important;
}

.btn-grey:active,
.btn-grey.active,
.btn.btn-grey:active,
.btn.btn-grey.active,
a.btn.btn-grey:active,
a.btn.btn-grey.active {
	background-color: var(--btn-secondary-bg-pressed) !important;
	border-color: var(--btn-secondary-border-pressed) !important;
	box-shadow: inset 0 0 0 2px var(--btn-secondary-border-pressed) !important;
	color: var(--btn-secondary-text-pressed) !important;
	text-decoration: none !important;
}

.form-group input:focus {
	border-color: #41056d !important;
}

.form-group input:focus + .placeholder-text .text {
	border-color: #41056d !important;
	color: #41056d !important;
}

.reset-link:hover {
	color: var(--brand-one) !important;
}

@media only screen and (min-width: 481px) and (max-width: 1100px) {
	#consolidation .login {
		margin-top: 96px;
	}

	#consolidation #iris-logo {
		position: static !important;
		right: auto !important;
		bottom: auto !important;
		display: flex;
		justify-content: flex-end;
		margin-top: 24px;
		padding-right: 20px;
	}
}
