/* Inter Font CSS */
/* static fonts */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100; font-display: swap; src: url("/public/rettsdata/fonts/Inter-Thin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100; font-display: swap; src: url("/public/rettsdata/fonts/Inter-ThinItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 200; font-display: swap; src: url("/public/rettsdata/fonts/Inter-ExtraLight.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 200; font-display: swap; src: url("/public/rettsdata/fonts/Inter-ExtraLightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("/public/rettsdata/fonts/Inter-Light.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 300; font-display: swap; src: url("/public/rettsdata/fonts/Inter-LightItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/public/rettsdata/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("/public/rettsdata/fonts/Inter-Italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/public/rettsdata/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 500; font-display: swap; src: url("/public/rettsdata/fonts/Inter-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/public/rettsdata/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 600; font-display: swap; src: url("/public/rettsdata/fonts/Inter-SemiBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/public/rettsdata/fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("/public/rettsdata/fonts/Inter-BoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/public/rettsdata/fonts/Inter-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 800; font-display: swap; src: url("/public/rettsdata/fonts/Inter-ExtraBoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("/public/rettsdata/fonts/Inter-Black.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 900; font-display: swap; src: url("/public/rettsdata/fonts/Inter-BlackItalic.woff2") format("woff2"); }
/* End Inter Font CSS */

:root {
    --main-bg-color: white;
    --main-image-bg-color: #1A196B;
    --text-color: #1f2633;
    --main-color: #334acc;
    --hover-color: #223289;
    --right-column-bg-color: #f4f4f4;
    --provider-dark-bg: #39383E;
    --provider-dark-bg-hover: #48464d;
    --provider-dark-bg-active: #706e77;
    --provider-blue-bg: #5555FF;
    --provider-blue-bg-hover: #4348E6;
    --provider-blue-bg-active: #24289C;
    --provider-white-bg: white;
    --provider-white-text: #5555FF;
    --provider-white-bg-hover: #4348E6;
    --provider-white-bg-active: #24289C;
    --input-bg: #F1F1F9;
    --input-border: #8D8C95;
    --input-text-color: #17151A;
    --label-text-color: #535158;
}

/* General styles */
body {
    background-color: var(--main-bg-color);
	color: var(--text-color);
    font-family: "Inter";
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
	-webkit-font-smoothing: antialiased;
}

/* Two-column layout */
.container {
    display: flex;
    width: 100%;
    background: var(--main-bg-color);
	display: flex;
	align-self: flex-start;
}	

p {
    font-size: 15px;
}

/* Left side (Login form) */
.left-column {
    width: 500px;
    display: flex;
    flex-direction: column;
	align-self: flex-start;
}

.left-content {
	display: flex;
	flex-direction: column;
	justify-content:center;
	width: 408px;
	padding: 0px 46px;
	align-self:center;
}

.logo--box {
	padding-top: 60px;
	padding-bottom: 33px;
	display: flex;
    flex-direction: column;
    justify-content: center;
	height: 36px;
	width: auto;
}

.logo--image {
    max-width: 160px;
    max-height: 46px;
}

main {
	display: flex;
    flex-direction: column;
    justify-content: center;
}

main h1 {
    font-family: "Inter";
    font-weight: 400;
    font-size: 28px;
    text-decoration: none;
    letter-spacing: 0;
    line-height: 36px;
    text-indent: 0;
    margin-bottom: 32px;
}

/* Right side (Image) */
.right-column {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
	
}

.image-container {
    width: 100%;
    height: 100vh; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-image-bg-color);
}

.image-container img {
    width: 100%;
    height: 100%;
    max-width: 360px;
    max-height: 105px;
}

ul.providers--list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

ul.providers--list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 406px;
    height: 46px;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
	letter-spacing: 0.16px;
	border-radius: 0;
}

ul.providers--list li a {
	padding: 8px 15px;
	text-decoration: none;
	color: inherit;
	display: flex;
	align-items: flex-start;
	width: 100%;
	/* justify-content: space-between; */
}

ul.providers--list li p {
	margin: 0;
}

ul.providers--list li.entra, ul.providers--list li.feide {
    flex-direction: column;
    height: auto;
}

ul.providers--list li.entra a, ul.providers--list li.feide a {
    color: #5555FF;
}

ul.providers--list li.entra a img, ul.providers--list li.feide a img {
    margin-left: 8px;
}

ul.providers--list li.entra {
	/* background-color: var(--provider-dark-bg); */
    /* color: white; */
    /* border: 1px solid var(--provider-dark-bg); */
}

ul.providers--list li.entra:hover{
	/* background-color: var(--provider-dark-bg-hover); */
	/* border-color: var(--provider-dark-bg-hover); */
}

ul.providers--list li.entra:active{
	/* background-color: var(--provider-dark-bg-active); */
	/* border-color: var(--provider-dark-bg-active); */
}

ul.providers--list li.internal {
	background-color: var(--provider-blue-bg);
    color: white;
    border: 1px solid var(--provider-blue-bg);
}

ul.providers--list li.internal:hover {
	background-color: var(--provider-blue-bg-hover);
	border-color: var(--provider-blue-bg-hover);
}

ul.providers--list li.internal:active {
	background-color: var(--provider-blue-bg-active);
	border-color: var(--provider-blue-bg-active);	
}

ul.providers--list li.feide {
    /* background-color: var(--provider-white-bg); */
    /* Use Feide brand color as the default text/color so the SVG (which uses currentColor)
       renders in the correct blue. Hover will switch color to white. */
    /* color: #1F4698; */
    /* border: 1px solid #1F4698; */
}

/* Smooth color transition for the SVG when the parent link is hovered */
ul.providers--list li.feide svg * {
    transition: fill 150ms ease-in-out;
}

/* Let the SVG inherit the current color so it changes on hover. */
ul.providers--list li.feide svg path {
    fill: currentColor;
}

ul.providers--list li.feide:hover{
	/* background-color: var(--provider-white-bg-hover); */
	/* border-color: var(--provider-white-bg-hover); */
	/* color: white;	 */
}

ul.providers--list li.feide:active{
	/* background-color: var(--provider-white-bg-active); */
	/* border-color: var(--provider-white-bg-active); */
	/* color: white; */
}

ul.providers--list img {
    height: 16px;
	width: 16px;
    margin-left: auto;
}

/* Ensure inlined SVGs in the providers list match the size and spacing of raster imgs */
ul.providers--list svg {
    height: 16px;
    width: 16px;
    margin-left: auto;
    display: inline-block;
}

@media (max-width: 900px) {
	.right-column {
		display: none;
	}

	.left-column {
		width: 100%;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 500px) {
	.left-content {
		width: 80%;
	}
}

.legal-links {
    position: absolute;
    display: flex;
    gap: 16px;
    right: 0;
    bottom: 0;
    margin: 16px;
}

.legal-links a {
    color: white;
    font-size: 12px;
    text-decoration: none;
}

.change-password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.32px;
    color: var(--label-text-color);
}

.input-group input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 0px;
    background-color: var(--input-bg);
    color: var(--input-text-color);
    border: none;
    border-bottom: 1px solid var(--input-border);
}

.submit-button {
    background-color: var(--provider-blue-bg);
    color: white;
    border: 1px solid var(--provider-blue-bg);

    padding: 8px 15px;
	text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 46px;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
	letter-spacing: 0.16px;
	border-radius: 0;
}