body, html {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  font-size: 14px;
  color:rgba(0,0,0,.87);
  margin:0;
  height: 100%;
  font-family: Apple-System,Arial,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,STXihei,sans-serif;
}
body {
  margin: 0;
}
.box {
  width: 100%;
}
.login-content {
  background-size:cover;
  background-position:center;
  min-height: 100%;
  min-width: 320px;
  display:flex;
  justify-content:center;
  flex-direction:column;
}

.kc-feedback-error {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}


.login-content .box .application-name {
  width: 270px;
  font-family: Muli;
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.83;
  letter-spacing: -0.4px;
  text-align: left;
  color: #0055B8;
  margin-left: 32px;
  margin-top: 40px;
}
.login-content .box .form {
  box-shadow: 0px 3px 17px 0px rgba(0,0,0,0.1);
  margin-left: auto;
  margin-right: auto;
  margin-top: 55px;
  margin-bottom: -55px;
}

.form-login {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-content .box input[type="text"]:focus, .login-content .box input[type="password"]:focus {
  border-bottom: 2px solid #0055B8;
}
.login-content .box input[type="text"]:-webkit-autofill, .login-content .box input[type="password"]:-webkit-autofill
{
  box-shadow: 0 0 0px 1000px white inset;
}
.login-content .box .submit{
  width: 320px;
  height: 36px;
  border-radius: 1px;
  background-color: #05539D;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  border-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.login-content .box .submit:hover{
  width: 320px;
  height: 36px;
  border-radius: 2px;
  background-color: #758fa8;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  border-style: none;
  margin-bottom: 10px;
}

.custom-input {
  display: inline-block;
  width: 100%; /* From w-full */
  height: 42px;
  padding: 8px; /* From p-2 */
  background-color: white;
  color: rgb(23, 23, 23);
  border: 1px solid rgb(209, 213, 219); /* From border and border-gray-300 */
  border-radius: 6px; /* From rounded-md */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: text;
}

.custom-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgb(147, 197, 253); /* From focus:ring-2 and focus:ring-blue-500 */
  border-color: rgb(99, 102, 241); /* From focus:border-blue-500 */
}

.custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%; 
  height: 50px;
  padding: 12px; 
  background-color: #05539D; 
  color: white;
  border: 1px solid #05539D;
  border-radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-button:hover {
  background-color: #1e5991;
}

.login-content .box .visibility {
  position: relative;
  left: 288px;
  top: 38px;
  width: 24px;
  height: 24px;
  opacity: 0.54;
  border: none;
  z-index: 100;
}
.login-content .box .copyright {
  min-width: 320px;
  text-align: left;
  font-size: 14px;
  opacity: .54;
  position: relative;
  top: 100px;
  font-size: 10px;
  font-weight: 700;
  font-family: Apple-System,Arial,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,STXihei,sans-serif;
}
.message-text {
  width: 322px;
  height: 22px;
  opacity: 0.87;
  font-family: Muli;
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.3;
  letter-spacing: -0.4px;
  text-align: left;
  color: #b8082a;
  border: 0px;
  position: relative;
  top: 120px;
  left: 64px;
  display: inline-flex;
  align-items: center;
}
.identity-providers {
  width: 270px;
  font-family: Muli;
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  line-height: 0.83;
  letter-spacing: -0.4px;
  text-align: left;
  color: #0055B8;
  margin-left: 32px;
  margin-top: 20px;
}

.login-content .box .social-link-style {
  width: 320px;
  height: 36px;
  border-radius: 2px;
  background-color: var(--white);
  font-family: Muli;
  font-size: 14px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #00754a;
  border-style: solid;
  border-color: #00754a;
  margin-top: 0px;
  margin-left: 30px;
  margin-bottom: 10px;
}

.login-content .box .para {
  font-family: Muli;
  font-size: 14px;
  margin-top: 50px;
  margin-left: 150px;
}

.login-content .box #social-providers {
	margin-top: 50px;
}

.login-content .box .alternate-wrapper {
	position: relative;
	top: 30px;
	left: -30px;
	display: flex;
    -webkit-box-align: center;
    align-items: center;
    place-content: stretch space-between;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    overflow: visible;
}

.login-content .box .alternate-wrapper .separator {
	border-top: none;
    border-right: none;
    border-left: none;
    border-image: initial;
    border-bottom: 1px solid rgb(237, 239, 241);
    box-sizing: content-box;
    display: block;
    height: 0px;
    margin: 16px auto;
    padding: 0px;
    width: 30%;
}

.login-content .box .alternate-wrapper .login-alternate-spacer {
	display: block;
    flex: 0 1 0%;
    height: 8px;
    min-width: 12px;
    width: 12px;
}

.login-content .box .alternate-wrapper .login-alternate {
	color: rgb(105, 117, 127);
    font-size: 16px;
	width: 12px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    line-height: 24px;
}

/*Logout*/
#kc-logout {
	width: 120px;
    height: 36px;
    border-radius: 2px;
    background-color: #139da5;
    font-family: Muli;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
    border-style: none;
    margin-top: 50px;
    margin-bottom: 10px;
	font-family: Apple-System,Arial,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,STXihei,sans-serif;
}


#kc-form-buttons {
	display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	padding-bottom: 20px;
}

.custom-button {
  background-color: #05539D;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-button:hover {
  background-color: #1e5991;
}

/* Separator styles */
.separator {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.separator span {
  margin: 0 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
}

/* SSO buttons styling */
.sso-buttons .custom-button {
  margin-bottom: 1rem;
  background-color: transparent;
  color: #05539D;
  border: 1px solid #05539D;
}

.sso-buttons .custom-button:hover {
  background-color: #f3f4f6;
}

/* Footer links styling */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.footer-links a:hover {
  color: #1f2937;
}

.footer-links i {
  margin-right: 0.5rem;
}

.flex-container .image-section {
  display: none;
}

@media (min-width: 768px) {
  .form-section {
      box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
      flex: 0 0 100%;
  }
  .login-content .image-section {
    display: block;
  }

}

.custom-container {
    display: block;
    width: 100%;
    max-width: 448px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    padding: 32px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: rgb(23, 23, 23);
    background-color: transparent;
    box-sizing: border-box;
    height: auto;
    max-height: none;
    min-height: auto;
    min-width: auto;
    max-inline-size: 448px;
    min-block-size: auto;
    min-inline-size: auto;
    block-size: auto;
    inline-size: auto;
    overflow-x: visible;
    overflow-y: visible;
    transition: all ease 0s;
}

.custom-logo {
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.custom-title {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    color: rgb(51, 65, 85);
    margin-bottom: 8px;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgb(55, 65, 81);
    margin-bottom: 8px;
}

.custom-input {
    display: inline-block;
    width: 100%;
    height: 42px;
    padding: 8px;
    background-color: white;
    color: rgb(23, 23, 23);
    border: 1px solid rgb(209, 213, 219);
    border-radius: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: text;
}

.custom-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(147, 197, 253);
    border-color: rgb(99, 102, 241);
}

.custom-forgot-password {
    font-size: 14px;
    text-align: end;
    color: rgb(37, 99, 235);
    text-decoration: underline;
    margin-top: 8px;
    display: block;
}

.custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 12px;
    background-color: #05539D;
    color: white;
    border: 1px solid #05539D;
    border-radius: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-button:hover {
    background-color: #1e5991;
}

.custom-separator-container {
    display: flex;
    align-items: center;
    padding-top: 4px;
    padding-bottom: 4px;
}

.custom-separator-line {
    flex-grow: 1;
    border-top: 1px solid rgb(209, 213, 219);
}

.custom-separator-text {
    margin-left: 12px;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 14px;
    color: rgb(107, 114, 128);
}

.custom-sso-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-sso-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background-color: #f5f5f5;
    color: #05539D;
    border: 1px solid #05539D;
    border-radius: 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    cursor: pointer;
}

.custom-sso-button:hover {
    background-color: rgb(249, 249, 249);
}

.custom-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.custom-footer-link {
    display: flex;
    font-size: 14px;
    color: rgb(107, 114, 128);
}

.custom-footer-link:hover {
    color: rgb(51, 65, 85);
}

.custom-footer-icon {
    margin-right: 8px;
    margin-top: auto;
    margin-bottom: auto;
}

.custom-footer-text {
    margin-top: auto;
    margin-bottom: auto;
}

.card {
  box-shadow: -1px 0px 10px 1px rgba(51, 51, 51, 0.35);
  border-radius: 5px;
}

.login-content .box .box-container {
  box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
  width:100%;
  padding: 30px;
}

.login-content .box .logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  width: 170px;
}