/* AnnTac ADFS Login Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  font-size: 15px;
  color: #000;
  background-color: #fff;
  direction: ltr;
}

.hidden {
  display: none !important;
}

.float {
  float: left;
}

.floatReverse {
  float: right;
}

/* Full Page Layout */
#fullPage {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
}

/* Left Side - Branding/Illustration */
#brandingWrapper {
  flex: 1;
  height: 100%;
  position: relative;
  background-image: url(images/anntac-illustration.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#branding {
  width: 100%;
  height: 100%;
}

/* Right Side - Content */
#contentWrapper {
  width: 480px;
  min-width: 480px;
  max-width: 480px;
  height: 100%;
  position: relative;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}

/* Header with Logo */
#header {
  padding: 50px 40px 10px;
  text-align: left;
}

.logoImage {
  max-width: 280px;
  height: auto;
}

/* Main Content Area */
main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 40px 40px;
}

#workArea {
  width: 100%;
  max-width: 100%;
}

#authArea {
  margin-top: 0;
}

.groupMargin {
  margin-bottom: 20px;
}

.fieldMargin {
  margin-bottom: 8px;
}

/* Login Message */
#loginMessage {
  font-size: 17px;
  font-weight: 400;
  color: #000;
  margin-bottom: 24px;
  max-width: 380px;
}

/* Error Display */
#error {
  display: none;
  padding: 8px 12px;
  background-color: #fde7e9;
  border: 1px solid #e81123;
  border-radius: 2px;
  margin-bottom: 16px;
}

#errorText {
  color: #e81123;
  font-size: 13px;
}

.smallText {
  font-size: 13px;
}

/* Form Styling */
#formsAuthenticationArea {
  margin-bottom: 20px;
  max-width: 380px;
}

#userNameArea,
#passwordArea {
  margin-bottom: 12px;
}

.text {
  display: block;
  width: 100%;
  padding: 6px 10px;
  font-size: 15px;
  line-height: 20px;
  border: 1px solid #8a8886;
  border-radius: 2px;
  background-color: #fff;
  color: #201f1e;
  outline: none;
  transition: border-color 0.1s ease;
}

.text:hover {
  border-color: #323130;
}

.text:focus {
  border-color: #0078d4;
  border-width: 2px;
  padding: 5px 9px;
}

.text::placeholder {
  color: #605e5c;
  opacity: 1;
}

.fullWidth {
  width: 100%;
}

/* KMSI Checkbox */
#kmsiArea {
  margin-bottom: 20px;
}

#kmsiArea label {
  margin-left: 8px;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

#kmsiInput {
  cursor: pointer;
  width: 16px;
  height: 16px;
}

/* Submit Button */
.submitMargin {
  margin-top: 20px;
  margin-bottom: 20px;
  max-width: 380px;
}

.submit {
  display: inline-block;
  padding: 5px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  color: #fff;
  background-color: #0078d4;
  border: 1px solid #0078d4;
  border-radius: 2px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.1s ease;
}

.submit:hover {
  background-color: #106ebe;
  border-color: #106ebe;
}

.submit:active {
  background-color: #005a9e;
  border-color: #005a9e;
}

.submit:focus {
  outline: 1px solid #000;
  outline-offset: 2px;
}

/* Introduction / Forgot Password Section */
#introduction {
  margin-top: 24px;
  padding-top: 0;
  border-top: none;
  max-width: 380px;
}

#introduction h2 {
  font-size: 16px;
  font-weight: 600;
  color: #323130;
  margin-bottom: 8px;
}

#introduction p {
  font-size: 14px;
  color: #323130;
  line-height: 20px;
}

#introduction a {
  color: #0078d4;
  text-decoration: none;
  cursor: default;
}

#introduction a:hover {
  text-decoration: none;
  color: #0078d4;
}

/* Footer */
#footerPlaceholder {
  height: 0;
  display: none;
}

#footer {
  display: none;
  padding: 16px 40px;
  background-color: #fff;
  border-top: none;
}

#footerLinks {
  text-align: right;
}

#copyright {
  font-size: 12px;
  color: #605e5c;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  #brandingWrapper {
    width: 50%;
  }
  
  #contentWrapper {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  #fullPage {
    flex-direction: column;
  }
  
  #brandingWrapper {
    width: 100%;
    height: 200px;
    min-height: 200px;
  }
  
  #contentWrapper {
    width: 100%;
    height: auto;
  }
  
  #header {
    padding: 30px 40px 10px;
    text-align: left;
  }
  
  main {
    padding: 15px 40px 30px;
    justify-content: flex-start;
  }
  
  #footer {
    padding: 16px 40px;
  }
  
  .logoImage {
    max-width: 200px;
  }
  
  #workArea {
    max-width: 100%;
  }
  
  #loginMessage {
    max-width: 100%;
  }
  
  #formsAuthenticationArea {
    max-width: 100%;
  }
  
  #introduction {
    max-width: 100%;
  }
  
  .submitMargin {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  #header {
    padding: 20px 20px 8px;
    text-align: left;
  }
  
  main {
    padding: 12px 20px 20px;
    justify-content: flex-start;
  }
  
  #footer {
    padding: 16px 20px;
  }
  
  .logoImage {
    max-width: 160px;
  }
  
  #loginMessage {
    font-size: 18px;
    max-width: 100%;
  }
  
  #footerLinks {
    text-align: center;
  }
  
  #workArea {
    max-width: 100%;
  }
  
  #formsAuthenticationArea {
    max-width: 100%;
  }
  
  #introduction {
    max-width: 100%;
  }
  
  .submitMargin {
    max-width: 100%;
  }
}

/* NoScript Warning */
#noScript {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  padding: 20px;
  margin: 20px;
  border-radius: 4px;
}

#noScript h1 {
  color: #856404;
  font-size: 20px;
  margin-bottom: 10px;
}

#noScript p {
  color: #856404;
  font-size: 14px;
  margin-bottom: 8px;
}
