:root {
  --primary-color: #063aa8;
  --secondary-color: #adb5bd;
}

body {
  font-family: Inter, sans-serif;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 1px;
  color: #212529;
  background-color: #f6f6f6;
}

.container {
  margin: auto;
  padding-top: 3rem;
  width: 328px;
}

.logo {
  width: 156px;
  margin: 0 auto 2.5rem;
  display: block;
}

.inner-container {
  background-color: #ffffff;
  border-radius: 8px;

  padding: 1.5rem;
}

h2 {
  font-weight: bold;
  font-size: 24px;
  line-height: 30px;

  margin: 0;
}

p {
  font-size: 16px;
  line-height: 20px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.intro,
a.helpLink {
  display: none;
}

div.show-hide {
  position: absolute;
  top: 43px;
  right: 8px;
}

div.show-hide input {
  display: none;
}

div.show-hide label {
  display: block;
  width: 24px;
  height: 24px;
  background-size: cover;
}

div.show-hide label.invisible {
  background-image: url(https://kerberosb2c.blob.core.windows.net/kerberosb2c/assets/checkbox_invisible.png);
}

div.show-hide label.visible {
  background-image: url(https://kerberosb2c.blob.core.windows.net/kerberosb2c/assets/checkbox_visible.png);
}

.contact {
  display: flex;
  column-gap: 17px;
  align-items: center;
  margin-top: 15px;
}

.contact img {
  width: 24px;
  height: 24px;
}

.contact a {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-color);
}

.contact div {
  font-size: 10px;
  margin-top: 4px;
}

form div.buttons {
  margin-top: 1.3rem;
}

div.buttons > button {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #ffffff;
  padding: 12px 16px;
  background: var(--primary-color);
  border-radius: 8px;
  margin: auto;
  border: 0;
  width: 100%;
  cursor: pointer;
  outline: none;
}
div.buttons > button:focus {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #009ce6;
}
div.buttons > button:hover {
  background-color: #0951ed;
}
div.buttons > button[disabled] {
  background-color: var(--secondary-color);
  color: #e8effe;
  cursor: default;
}

div.attrEntry > label,
div.entry-item > label,
div.entry-item > .password-label > label {
  font-weight: bold;
  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: center;
  order: 0;
  margin: 14px 0 4px 0;
}

div.attrEntry input:not([type='checkbox']),
div.entry-item > input:not([type='checkbox']) {
  border: 1px solid #adb5bd;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  align-items: center;
  color: #868e96;
  padding: 10px 12px;
  width: 100%;
  order: 1;
  outline: none;
}
div.attrEntry input:not([type='checkbox']):focus,
div.entry-item > input:not([type='checkbox']):focus {
  border: 1px solid var(--primary-color);
}

div.attrEntry input:not([type='checkbox'])[disabled],
div.entry-item > input:not([type='checkbox'])[disabled] {
  color: #adb5bd;
  background-color: #dee2e6;
}

div.attrEntry input[type='checkbox'],
div.entry-item > input[type='checkbox'] {
  position: absolute;
  bottom: 11px;
  right: 10px;
}

.attrEntry.error-message label,
.entry-item.error-message label {
  color: #f4541d;
}

.attrEntry.error-message input,
.entry-item.error-message input {
  border-color: #f4541d !important;
}

div.error {
  background-color: #FDEDE8;
  color: #F4541D;
}

#simplemodal-container,
#simplemodal-overlay {
  display: none !important;
}

.label-expired {
  font-size: 12px;
  line-height: 16px;
  color: #555555;
  margin-top: 12px;
  margin-bottom: 4px;
}

.email-input-expired {
  font-size: 16px;
  line-height: 20px;
  color: #000000;
  padding: 12px 16px;
  border-radius: 8px;
  margin: auto;
  width: 87%;
  border: 1px solid black;
}

.message {
  margin: 30px 0;
  padding: 10px;
  border-radius: 5px;
  display: none;  /* Initial state is hidden */
  font-size: 14px;
}

.message.active {
  display: block;
}

/* Style for loading message */
#loadingMessage {
  background-color: #f0f0f0;
  color: #000000;
}

/* Style for success message */
#successMessage {
  background-color: #E6F8EA;
  color: #57CC6F;
}

#successRequestAccountActive {
  background-color: #ffffff;
}

#successRequestAccountActive a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  word-break: break-word;
}

#successRequestAccountActive a:hover {
  color: #551A8B;
  text-decoration: underline;
}

/* Style for error message */
#errorMessage {
  background-color: #FDEDE8;
  color: #F4541D;
}

.icon {
  fill: var(--icon-color, #000000);
}

@media (prefers-color-scheme: dark) {
  .icon {
    --icon-color: #ffffff; /* white in dark mode */
  }
}

@media (prefers-color-scheme: light) {
  .icon {
    --icon-color: #000000; /* black in light mode */
  }
}

.main-logo {
  text-align: center;
  margin-bottom: 12px;
}