

/* ---------------------------------------------------------------
 * Colour tokens
 * -------------------------------------------------------------- */
:root {
	--fis-personal : #35577d;   /* navy  */
	--fis-business : #999999;   /* grey  */
	--fis-green    : #94c83d;
	--fis-inactive : #e8e8e8;   /* inactive tab bg */
	--fis-border-w : 2px;
}

/* ---------------------------------------------------------------
 * Outer wrapper – just a width/position anchor, no own border
 * ------------------------------------------------------------- */
.fis-login-new {
	width: 100%;
	box-sizing: border-box;
	background: transparent;
}

/* ---------------------------------------------------------------
 * Tab row – overlaps the body box by border-width so the active
 * tab's white bottom-border hides the body's top border behind it
 * ------------------------------------------------------------- */
.fis-login-new__tabs {
	display: flex;
	align-items: flex-end;        /* tabs grow from bottom up */
	position: relative;
	z-index: 2;
}

/* ----------- Base tab style ----------------------------------- */
.fis-login-new__tab {
	flex: 1;
	padding: 13px 10px;
	text-align: center;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	background: var(--fis-inactive);
	border-bottom: none;
	border-radius: 4px 4px 0 0;
	transition: background 0.15s ease, color 0.15s ease;
}

/* ----------- Active tab: Personal ----------------------------- */
.fis-login-new.tab--personal .fis-login-new__tab[data-tab="personal-new"].active {
	background: #fff;
	font-weight: 700;
	color: var(--fis-personal);
	border-color: var(--fis-personal);
	border-bottom: var(--fis-border-w) solid #fff;  /* erase body top-border */
}

/* ----------- Active tab: Business ----------------------------- */
.fis-login-new.tab--business .fis-login-new__tab[data-tab="business-new"].active {
	background: #fff;
	font-weight: 700;
	color: var(--fis-business);
	border-color: var(--fis-business);
	border-bottom: var(--fis-border-w) solid #fff;
}

.fis-login-new__tab-divider {
	width: 3px;
	flex-shrink: 0;
	align-self: stretch;
	margin: 6px 0 0;
	border-radius: 2px 2px 0 0;
	border-top: none;
}


.fis-login-new__body {
	position: relative;
	z-index: 1;
	padding: 28px 32px 32px;
	background: #fff;
	border-radius: 0 0 6px 6px;
	transition: border-color 0.2s ease;
}

/* Border colour follows the active tab */
.fis-login-new.tab--personal .fis-login-new__body {
	border-color: var(--fis-personal);
}

.fis-login-new.tab--business .fis-login-new__body {
	border-color: var(--fis-business);
}


.fis-login-new__content {
	display: none;
}

.fis-login-new__content.active {
	display: block;
}


.fis-login-new input[type="text"] {
	display: block;
	width: 100%;
	padding: 14px 16px;
	margin: 0 0 12px;
	box-sizing: border-box;
	font-size: 16px;
	border: 1px solid #8cc63f;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fis-login-new input[type="text"]:focus {
	border-color: var(--fis-personal);
	box-shadow: 0 0 0 3px rgba(53, 87, 125, 0.15);
}

/* Submit button – full width, prominent */
.fis-login-new input[type="submit"] {
	display: block;
	width: 100%;
	padding: 16px 10px;
	margin: 4px 0 0;
	box-sizing: border-box;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background-color: var(--fis-green);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.fis-login-new input[type="submit"]:hover {
	background-color: #7db034;
}

/* ---------------------------------------------------------------
 * Helper links (Enroll Now / Forgot Username)
 * ------------------------------------------------------------- */
.fis-login-new__content p {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.4;
}

.fis-login-new__content a {
	color: #003366;
	text-decoration: underline;
}

.fis-login-new__content a:hover {
	color: var(--fis-personal);
}