@media all {
  .mdc-text-field__input::placeholder {
    opacity: 1 !important;
  }
}


/* ==================================

UConn NetID Login

by Brian Dunnigan

January 2025

================================== */


/* #Reset & Basics (Inspired by E. Meyers)
================================================== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block; }
body {
    line-height: 1; }
ol, ul {
    list-style: none; }
blockquote, q {
    quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none; }
table {
    border-collapse: collapse;
    border-spacing: 0; }
		




/* #Fonts
================================================== */
/*
 * Web Fonts from fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2012 Fontspring
 *
 *
 *
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      Mark Simonson Studio
 * License URL: http://www.fontspring.com/fflicense/mark-simonson-studio
 *
 *
 */
 
 @font-face {
	font-family: 'Proxima Nova';
	src: url('/cas/fonts/proximanova_regular/ProximaNova-Reg-webfont-d9d162d5050521ab3f2c69aef6b95e07.eot');
	src: url('/cas/fonts/proximanova_regular/ProximaNova-Reg-webfont-d9d162d5050521ab3f2c69aef6b95e07.eot?#iefix') format('embedded-opentype'),
		 url('/cas/fonts/proximanova_regular/ProximaNova-Reg-webfont-f38544e76c2acfc038e2dfcc0041ff9f.svg#proxima_nova_rgregular') format('svg'),
		 url('/cas/fonts/proximanova_regular/ProximaNova-Reg-webfont-c2822d0a30123cefb2ea1dee8e19681d.woff') format('woff'),
		 url('/cas/fonts/proximanova_regular/ProximaNova-Reg-webfont-ab6b9b83c877690f7f0d4fef03e8e743.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	}		 


@font-face {
	font-family: 'Proxima Nova';
	src: url('/cas/fonts/proximanova_semibold/ProximaNova-Sbold-webfont-16c3736b576dd9c18565ab31d393d2de.eot');
	src: url('/cas/fonts/proximanova_semibold/ProximaNova-Sbold-webfont-16c3736b576dd9c18565ab31d393d2de.eot?#iefix') format('embedded-opentype'),
		 url('/cas/fonts/proximanova_semibold/ProximaNova-Sbold-webfont-335e1c97d7db147f7ea97d304ac04174.svg#proxima_nova_ltsemibold') format('svg'),
		 url('/cas/fonts/proximanova_semibold/ProximaNova-Sbold-webfont-321dcd51fc5ec542b7013cdbe3ba4770.woff') format('woff'),
		 url('/cas/fonts/proximanova_semibold/ProximaNova-Sbold-webfont-4378e225eca2194316dad404538bc482.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	}


@font-face {
	font-family: 'Proxima Nova';
	src: url('/cas/fonts/proximanova_bold/ProximaNova-Bold-webfont-05c2fe8e760567df4c827dbd98b0d591.eot');
	src: url('/cas/fonts/proximanova_bold/ProximaNova-Bold-webfont-05c2fe8e760567df4c827dbd98b0d591.eot?#iefix') format('embedded-opentype'),
		 url('/cas/fonts/proximanova_bold/ProximaNova-Bold-webfont-c1f24959a549c947588484d448ccd5e2.svg#proxima_nova_ltsemibold') format('svg'),
		 url('/cas/fonts/proximanova_bold/ProximaNova-Bold-webfont-0ca800cb305b7e74d014e0db96156e9f.woff') format('woff'),
		 url('/cas/fonts/proximanova_bold/ProximaNova-Bold-webfont-61b07154e2f7aacaeadebd9345d4798b.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	}
	
	
	

/* Utilities */

.accessibility {
	visibility:hidden;
	position:absolute;
	height:0;
	width:0;
}
	

/* ================================================== */

html {
height: 100%;
  min-height: 100%;
}


body {
	font-family:'Proxima Nova', Helevtica, Arial, sans-serif;
	background: rgb(1,62,205);
    background: linear-gradient(135deg, rgba(1,62,205,1) 0%, rgba(0,14,47,1) 100%);
	background-size: cover !important;
    background-repeat:no-repeat;
    height: 100%!important;
    min-height: 100%;
	}

@media (max-width:600px) {
    body {
        background-image:none !important;
			background: rgb(1,62,205) !important;;
    background: linear-gradient(135deg, rgba(1,62,205,1) 0%, rgba(0,14,47,1) 100%) !important;;
    }
}

#wrap {
	width:470px;
	margin:auto;
	padding:50px 0 40px;
	}
	.lte8 #wrap {
		position:relative;
		left:50%;
		margin-left:-180px;	
		}

@media (max-width:600px) {
	#wrap {
		width:90%;
		padding-top:10px;
	}
}
				
	 h2 {
		margin: 0;
		font-size:24px;
		text-align:center;
		color:#000e2f;
		font-weight:500;
		}
	 #message,
	 #slogan {
		color:#616161;
		text-align:center;
		margin: 30px 0px 0px;
		font-size:14px;
		line-height:18px;
		display: block;
		}
			#destination {
				display:block;
				width:100%;
				text-overflow:ellipsis;
				overflow:hidden;
				font-family: 'Proxima Nova', sans-serif;
				font-weight:bold;
				text-align: center;
				}

#focus {
	/*! background-color:white; */
	/*! padding:30px 50px 30px; */
		/*! -moz-box-shadow:0px 2px 2px 0px #b2b2b2; */
		/*! -webkit-box-shadow:0px 2px 2px 0px #b2b2b2; */
	/*! box-shadow:0px 2px 2px 0px #b2b2b2; */
	}



#focus {
  background-color:transparent;
  padding:80px 44px;
  position:relative;
  z-index:1;
  overflow:hidden;
  color:white;
  margin-top:20px;
  margin-bottom:50px;
  line-height:1.6em;
  font-size:16px;
  margin-left:auto;
  margin-right:auto;
  font-family:"proxima nova", sans-serif;
  width: 386px;
}

@media (max-width:600px) {
	#focus {
	   padding:70px 35px;
	}
}

#focus::before {
  border-radius: 100%;
  position: absolute;
  background: white;
  right: -50%;
  left: -50%;
  top:0px;
  bottom:0;
  content: '';
}

#focus * {
  position:relative;
  z-index:2;
}



	
	legend {
		color:#989898;
		margin-bottom:20px;
		}
		legend #destination {
			color:#434343;
			}
	
	label {
		padding-bottom:5px;
		display:block;
		color:#535353;
		visibility:hidden;
		position:absolute !important;
		top: 6px;
		left: 16px;
		}
		.no-supports-placeholder label,
		.lte9 label {
			visibility:visible;
			height:auto;
			position:relative;
			}
			
			
	.row_check {
		margin-top:1.5em;
		font-size:.75em;
		}
		.row_check label {
			visibility:visible!important;
			height:auto!important;
			position:relative!important;
			display:inline!important;
			}
	
	.textfield {
		font-size:16px;
		padding:16px 15px 14px;

		transition: all 200ms;
		}
		.textfield {
			margin-bottom:0;
			}
			#login {
				}
			#password {
				position:relative;
				top:-1px;
				}
		.no-supports-placeholder .textfield,
		.lte9 .textfield {
			margin-bottom:20px;
				-webkit-border-radius:3px !important;
				-moz-border-radius:3px !important;
			border-radius:3px !important;
				-moz-box-shadow:    inset 0px 1px 2px 0px #e5e5e5 !important;
				-webkit-box-shadow: inset 0px 1px 2px 0px #e5e5e5 !important;
			box-shadow:         inset 0px 1px 2px 0px #e5e5e5 !important;
			}
			
			
		
	#submitBtn {
		width:100%;
		padding:30px 0px 28px;
		border:0;
		margin-bottom: 10px;
		color: #fff;
		font-size: 14px;
		font-weight: 500;
		line-height: 36px;
		text-align: center;
		background: #000e2f;
		text-transform: uppercase;
		letter-spacing:0.15em;
		border-radius:0px;
		box-shadow:none;
		font-family: "proxima nova", sans-serif;
		}
		#submitBtn:hover,
	#submitBtn:active,
	#submitBtn:focus{
			background: #013ECD;
			cursor:pointer;
			}		
	
	#help {
		margin:3px 0px 25px;	
		}
		#help a {
			font-size:14px;
			color:#013ECD;
			}

#description {
	padding:40px 0;
	font-size:11px;
	font-family:Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
	}
	#description p {
		padding-bottom:.4em;
		border-bottom:1px solid #ccc;
		margin-bottom:1em;
		}
	#description li {
		margin:.5em 0;
		text-align:center;
			}


 /* Prelaunch tweaks, June 2015 */
 
 .error-message {
	padding:22px;
	background-color:#f8d7da;
	border:1px solid #f1aeb5;
	margin-bottom:18px;
	color:#2b2b2b;
	}
	.error-headline {
		font-size:16px;
		line-height:16px;
		font-weight:500;
		margin-bottom:14px;
		color: #dc3545;
		}
		.error-flag {
			display:none;
			height:0;
			width:0;
			border: 1px solid transparent;
			border-left-color:#dc3545;
			border-width:6px 11px 6px 11px;
			}
	.error-details {
		font-size:14px;
		line-height:1.4em;
		}
	.error-details a {
		color:#013ECD;
		}
#slogan {
	text-align:left;
	}
	#slogan strong {
		color:#000;
		font-weight:bold;
		}
		
#system {
	margin-bottom:1em;
}



/* Duo and 5.2.4 tweaks */

#uc-footer {
height:30px;
}

#content {
min-height: calc(100vh - 120px);
width: 600px;
margin-left: auto;
margin-right: auto;
margin-top:29px;
z-index: 999;
position: relative;
}

@media (max-width:600px) {
#content {
width: 100%;
}
}

#duo_form {
overflow: hidden;
margin-bottom: 30px;
margin-top: 0px;
-moz-box-shadow: 0px 1px 3px 0px #b2b2b2;
-webkit-box-shadow: 0px 1px 3px 0px #b2b2b2;
box-shadow: 0px 1px 3px 0px #b2b2b2;
}

#login {
overflow: hidden;
margin-top: -1px;
width: 602px;
margin-left: -1px;
}

#login.unauthorized {
width:auto;
}

#login.cas-generic-view {
width:auto;
}


@media (max-width:600px) {
#login {
width:362px;
}
}

#duo_iframe {
margin-bottom:-5px;
height: 500px;
width: inherit; 
}

.textfield {
  /*! width: 100%; */
  line-height: 1.5em;
font-family:"proxima nova", sans-serif;
}

body.login #login {
width:auto !important;
overflow: visible !important; 
}

body.login #content {
margin-top:0px;
}
#iam_wrap {
  width: 100%;
  height: 300px;
  text-align: center;
  margin:auto;
  padding:30px 0 40px;

}

#scaled-frame {
  width: 100%;
  height: 300px;
  margin-top: -1px;
  position:relative;
}


#Blue {
width: 230px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 40px;
}


input::-moz-placeholder {
  color:#5F666D;
  opacity:1
}
input::placeholder {
  color:#5F666D;
  opacity:1;
font-family: "proxima nova", sans-serif;
}

#iam_wrap {
    display:none;
}

input:focus, input:not(:placeholder-shown) {
	padding-top:25px;
	padding-bottom:5px;
}


input:focus + label, input:not(:placeholder-shown) + label {
	visibility: visible;
	font-size: 14px;
}

input:focus::-moz-placeholder{
 color: transparent
}


input:focus::-webkit-input-placeholder {
	 color: transparent;
}

.mdc-card {
	background-color:transparent;
	box-shadow:none;
}

.input-wrap {
	width:100%;
	overflow: hidden;
	border:1px solid #e1e1e1;
	background: #E6E9F1;
}


.fa-shield-alt {
  margin-right:6px
}

#main-content {
padding-top:0px !important;
}
 


@media (max-width:767px) {
  #main-content {
   
  /*! width: 90%; */
  position: relative;
  padding-left: 0;
  padding-right: 0;
  margin-left: 20px;
  margin-right: 20px;
padding-top:20px !important;
  /*! display: flex; */
  }
  
  #content {
    padding-top:0px;
    display: block !important;
    width:100%;
    position: relative;
  }
  
  .mdc-top-app-bar--fixed-adjust {
    padding-top: 0px;
    position: relative;
  }
  
  .mdc-card {
    display:block !important;
  }
  
  #focus {
    width:auto;
    margin-left:auto !important;
    margin-right:auto !important;
    padding: 70px 35px;
    position: relative;
    max-width:386px;
  }
}


.fa-shield-alt {
font-size:19px !important;
}

#usernameSection.cas-field {
  margin-bottom:10px !important;
}

#passwordSection.cas-field {
  margin-top:0px !important;;
  margin-bottom:30px !important;
}

.unauthorized-access #focus::before {
  background:#f8d7da;
}


.unauthorized-access * {
  color:#842029;
}

.unauthorized-access h1 {
  font-weight:bold;
  margin-bottom:15px;
  font-size:26px;
  color:#842029;
}

.unauthorized-access #focus {
padding:80px 41px;
}





.cas-generic-view-access #focus::before {
  background: #d4edda; /* Light green */
}

.cas-generic-view-access * {
  color: #155724; /* Dark green for contrast */
}

.cas-generic-view-access h1 {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 26px;
  color: #155724;
}

.cas-generic-view-access #focus {
  padding: 80px 41px;
}

.cas-generic-view-access ul {
  margin-top:15px;
}

.cas-generic-view-access ul li {
  margin-bottom:5px;
}

.cas-generic-view-access ul li a {
  text-decoration: underline;
}

.cas-generic-view-access ul li a:hover,
.cas-generic-view-access ul li a:active,
.cas-generic-view-access ul li a:focus{
  color:black;
}

.cas-generic-view-access ul li span {
vertical-align: top;
font-size: 19px;
  margin-top: 3px;
  margin-right: 6px;
}



/* Interrupt Page Specific Styling */
#cas-interrupt {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Main Container */
#cas-interrupt .container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

/* Card Styling */
#cas-interrupt .mdc-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Header Styling */
#cas-interrupt h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

/* Paragraph Text */
#cas-interrupt p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* Information Alert */
#cas-interrupt .alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    text-align: left;
}

/* Table Styling */
#cas-interrupt .mdc-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#cas-interrupt .mdc-data-table th {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: left;
}

#cas-interrupt .mdc-data-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

#cas-interrupt .mdc-data-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Buttons */
#cas-interrupt .mdc-button {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 200px; /* Ensures both buttons are the same width */
    height: 60px; /* Ensures both buttons are the same height */
    font-size: 20px; /* Ensures same text size */
    font-weight: bold;
    padding: 16px 0; /* Centering text inside */
    border: none;
}

/* Proceed Button */
#cas-interrupt .proceed-btn {
    background-color: #007bff;
    color: white;
}

#cas-interrupt .proceed-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Login Again Button */
#cas-interrupt .login-again-btn {
    background-color: #6c757d;
    color: white;
}

#cas-interrupt .login-again-btn:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

/* Link Styling */
#cas-interrupt a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

#cas-interrupt a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Form Actions */
#cas-interrupt .form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Ensures buttons don't overflow on small screens */
}

#cas-interrupt .form-actions input[type="submit"] {
    width: 200px; /* Matches button width */
    height: 60px; /* Matches button height */
    font-size: 20px;
    font-weight: bold;
}

/* Alert Box - Ensure it has correct structure */
#cas-interrupt #interrupt-alert {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #bee5eb;
    background-color: #d1ecf1;
    border-radius: 5px;
}

/* Ensure Button is Positioned Correctly */
#cas-interrupt #sspr-button-container {
    display: flex;
    justify-content: flex-end; /* Moves button to the right */
    width: 100%;
    margin-top: 10px;
}

/* SSPR Options Button */
#cas-interrupt #updatenetidaccount {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 50px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    background-color: #007bff;
    color: white;
    border: 2px solid #007bff;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hover Effect */
#cas-interrupt #updatenetidaccount:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: scale(1.05);
    color: white;
}


/* Cancel Button Container */
#cancel-container {
    display: flex;
    justify-content: center;  /* Centers the button horizontally */
    margin-top: 20px;
}

/* Cancel Button Styling */
#cancel {
    width: 200px; /* Ensures a consistent button width */
    height: 55px; /* Adjusted height for uniformity */
    font-size: 18px; /* Adjusts font size for better readability */
    font-weight: 600;
    text-align: center;
    background-color: #6c757d;
    color: white;
    border: 2px solid #6c757d;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Hover Effect */
#cancel:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: scale(1.05);
    color: white;
}

#interrupt-image img {
    max-width: 50%; /* Reduces the size to 50% of its original width */
    height: auto; /* Keeps aspect ratio */
    display: block;
    margin: 20px auto; /* Centers the image and adds spacing */
    border: none; /* Removes any border */
    border-radius: 0; /* Ensures no rounded corners */
    box-shadow: none; /* Removes any shadow effect */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    #interrupt-image img {
        max-width: 70%; /* Slightly larger on smaller screens */
    }
}

@media (max-width: 480px) {
    #interrupt-image img {
        max-width: 80%; /* Adjust size for mobile devices */
    }
}


#serviceui {
  display:none;
}



/* === Dynamic Delegated Auth Discovert Styling Fixes === */

/* Wrapper spacing and layout */
.form-netid {
  margin-top: 40px;
  width: 100%;
  max-width: 500px;
}

.form-netid-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.form-netid-input {
  width: 100%;
  max-width: 500px;
  height: 52px;
  padding: 14px;
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  color: #000;
  box-sizing: border-box;
  display: block;
}

/* Buttons */
.form-buttons {
  margin-top: 30px;
}

.form-buttons .mdc-button {
  margin-right: 12px;
}

/* === Delegated Auth Header Styling === */
.delegated-auth-container h2 {
  color: white;
}


/* Delegated Auth Header Intro text styled with mint green for dark blue background */
.delegated-auth-container .intro {
  color: #A5D6A7;           /* Mint green */
  text-align: center;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
}


/* === Yellow Alert Box Styling === */
.banner-warning {
  background-color: #FFF8E1;   /* Soft yellow */
  border: 1px solid #FFD54F;   /* Medium yellow border */
  color: #795548;              /* Dark text for readability */
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Bold warning text */
.banner-warning p {
  font-weight: bold;
  margin: 0;
}


/* Optional: fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Disable and hide the "Select Provider" button */
/* body.login #selectIdentityProvider {
  display: none !important;
} */

/* #selectIdentityProvider {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
} */

#selectIdentityProvider {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}


/* ===== CAS login layout + External Azure Identity provider button normalization ===== */

/* Single source of truth for column width + button size */
:root {
  --cas-col-width: 560px;   /* was 500px; bump to make buttons wider */
  --cas-btn-height: 56px;   /* a touch taller feels nicer */
  --cas-btn-font: 18px;
}

/* Let the main card wrap and keep sections tidy */
body.login .mdc-card-content {
  flex-wrap: wrap;
  gap: 16px;
}

/* Columns (login form + providers) share the same width cap */
body.login .login-section {
  flex: 1 1 var(--cas-col-width);
  max-width: var(--cas-col-width);
}

/* Keep the provider block centered and capped */
body.login #loginProviders {
  width: 100%;
  max-width: var(--cas-col-width);
  margin: 0 auto;
}

/* Make provider forms/buttons truly fill the column */
body.login #loginProviders .login-provider-item form,
body.login #loginProviders .mdc-button {
  width: 100%;
  display: block;
}

/* Normalize button sizing across both panels */
body.login #loginForm .mdc-button,
body.login #loginProviders .mdc-button,
body.login #inlineLoginProviders .mdc-button {
  height: var(--cas-btn-height) !important;
  font-size: var(--cas-btn-font);
  padding: 0 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full-width (belt + suspenders) */
body.login #loginProviders .mdc-button,
body.login #inlineLoginProviders .mdc-button {
  width: 100% !important;
}

/* Spacing between multiple provider entries */
body.login #loginProviders .login-provider-item + .login-provider-item,
body.login #inlineLoginProviders .login-provider-item + .login-provider-item {
  margin-top: 12px;
}

/* Reorder so providers appear after the form when using the separate section */
body.login #loginForm { order: 1; }
body.login #loginProviders { order: 2; }

/* Visually merge the separate providers section with the form panel (optional)
   If you keep #loginProviders as a sibling, this removes extra card chrome so it
   looks like it's part of the same panel below the form. */
body.login #loginProviders main.container,
body.login #loginProviders .card,
body.login #loginProviders .card-body {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Keep your existing NETID form capped to the same width */
.form-netid,
.form-netid-input {
  max-width: var(--cas-col-width);
}

/* Optional provider-specific class hook (kept for clarity) */
body.login .mdc-button-azuread2 {
  /* inherits sizing from the rules above */
}


:root {
  --cas-col-width: 500px;  /* original width */
  --cas-btn-height: 52px;
  --cas-btn-font: 18px;
}

/* Keep login form section from stretching */
body.login .login-form.card-body {
  display: flex;
  justify-content: center;
}

/* Cap inner content and center it */
body.login .login-form .form-wrapper {
  width: 100%;
  max-width: var(--cas-col-width);
  margin: 0 auto;
}

/* Inline providers live under the form, same width */
body.login #inlineLoginProviders {
  max-width: var(--cas-col-width);
  margin: 12px auto 0;
}

/* Normalize buttons */
body.login #inlineLoginProviders .mdc-button,
body.login #loginForm .mdc-button {
  width: 100% !important;
  height: var(--cas-btn-height) !important;
  font-size: var(--cas-btn-font);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.login #inlineLoginProviders .login-provider-item + .login-provider-item {
  margin-top: 12px;
}


/* SSO message: readable and compact */
body.login .sso-msg {
  margin: 8px 0 0;
  padding: 10px 12px;
  color: #1b1e21;
  background: #e9f5ff;           /* light info background */
  border: 1px solid #b6e0fe;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
}

/* Prevent long inline code from pushing width */
body.login .sso-msg code {
  white-space: normal;
  word-break: break-word;
}

/* Keep the form column width stable (if you haven't already) */
:root { --cas-col-width: 500px; }

body.login .login-form .form-wrapper,
body.login #inlineLoginProviders {
  max-width: var(--cas-col-width);
  margin-left: auto;
  margin-right: auto;
}


/* ===== Styling External Azure Identity provider button & Message Window ===== */
:root {
  --cas-col-width: 500px;
  --cas-btn-height: 52px;
  --cas-btn-font: 18px;
  --promo-btn-bg: #013ECD;     /* UConn blue for the promo button */
}

/* ---------------------------------------------------------------------------------
   FEATURE TOGGLE (HIDE/SHOW PROMO)
   - Hidden by default (no class needed).
   - To ENABLE the promo (message + entity ID button), add "promo-enabled" to <body>:
       <body class="login promo-enabled mdc-typography">
   - Alternative: set a data attribute instead:
       <body class="login mdc-typography" data-promo="on">
-----------------------------------------------------------------------------------*/

/* HIDE promo by default */
body.login .provider-promo,
body.login #providerPromo { 
  display: none !important;   /* <--- Hidden parameter: remove this line or add the flag below to show */
}

/* SHOW promo when the feature flag is enabled */
body.login.promo-enabled .provider-promo,
body.login.promo-enabled #providerPromo,
body.login[data-promo="on"] .provider-promo,
body.login[data-promo="on"] #providerPromo {
  display: block !important;
}

/* Keep the column width consistent */
body.login .login-form .form-wrapper,
body.login #inlineLoginProviders,
body.login #providerPromo {
  max-width: var(--cas-col-width);
  margin-left: auto;
  margin-right: auto;
}

/* Promo container */
body.login .provider-promo {
  text-align: center;
  background: #fff;
  padding: 8px 0 0;
}

/* Separator spacing */
body.login .provider-promo-sep {
  margin: 12px 0;
}

/* Promo copy */
body.login .provider-promo-text {
  color: #000;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
}

/* Promo button sizing + color normalization */
body.login .provider-promo-btn {
  width: 100% !important;
  height: var(--cas-btn-height) !important;
  font-size: var(--cas-btn-font);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--promo-btn-bg) !important;
}



/* === Hide Apereo CAS footer === */
footer.cas-footer,
.cas-footer {
  display: none !important;
}
