body {
  margin: 0;
  padding: 0;
  border: 0;
  height: 100%;
  max-height: 100%;
  font-family: "Segoe WP", "Segoe UI", "Arial", sans-serif;
  color: rgb(36, 36, 36);
  background: white;
  scrollbar-base-color: white;
  scrollbar-arrow-color: #ababab;
  scrollbar-highlight-color: #ababab;
  scrollbar-darkshadow-color: white;
  scrollbar-track-color: white;
  scrollbar-face-color: white;
}

/* Layout styles */
#contentMain {
  padding: 10px 17px 0 10px;
}
.section {
  margin-bottom: 1em;
}
.whole-pane {
  overflow: auto;
  min-height: 500px;
  margin-bottom: 90px;
}
.whole-pane.tall{
  padding-bottom: 60px;
}

/* Text elements */
h3 {
  font-size: 18px;
  margin-bottom: .3em;
  margin-top: 0;
  font-weight: 400;
}
p {
  font-size: 14px;
  margin: 0;
  padding: 0;
  font-weight: 400;
  color: #555;
}
label span,
button span {
  font-size: 14px;
  margin: 0;
  padding: 0;
  font-weight: 400;
  color: #555;
}
label span,
button span {
  display: table;
}

/* Button styles */
button {
  padding: 10px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
  white-space: normal;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  border: none;
  color: #ffffff;
  background-color: #0F6CBD;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
}
button:hover:enabled {
  background-color: #115EA3;
}
button:active:enabled {
  background-color: #0F6CBD;
}
button.disabled {
  background-color: #cccccc;
  color: #ffffff;
  cursor: initial;
}

/* Button:focus style when tabbing between elements */
button:focus, input:focus, textarea:focus {
  outline-color: #000;
  outline-width: thin;
}

/* PAB mode icon badge */
.label-content {
  display: flex;
  justify-content: flex-end;
  height: 20px;
}
.mode-indicator {
  width: 90px;
  height: 20px;
  visibility: hidden;
  color: white;
  font-weight: bolder; 
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  border-radius: 4px;
  margin-top:5px;
  transition: all 1s ease-in;
}
.mode-indicator.show {
  visibility: visible;
  opacity: 1;
}
.mode-indicator.m365 {
  background-color: #0655BB;
}
.mode-indicator.graph {
  background-color: #750E90;
}
.mode-indicator.ews {
  background-color: #f26721;
}

/* Phish Alert button section */
.content-button {
  position: fixed;
  box-sizing: border-box;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px thin #dddddd;
  z-index: 2;
  background: white;
  margin: 0;
  padding: 1em;
  box-shadow: -1px -5px 7px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: -1px -5px 7px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: -1px -5px 7px rgba(0, 0, 0, 0.3);
}
.content-footer {
  background-color: #cecece;
  width: 100%;
  min-height: 50px;
}

/* User details static display*/
.userDetailsContent {
  padding: .7em
}
.userDetailsContent h2 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
}
.userDetailsContent p {
  font-size: 14px;
  margin: 0
}

/* User details drop-down display */
#fromSection.drop-down {
  border: 1px solid #0F6CBD;
  border-radius: 5px;
  overflow: hidden  ;
}
#fromDropDown {
  cursor: pointer;
  background: rgb(255, 255, 255);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  transition: all .5s;
}
#fromDropDown:hover {
  background: rgb(255, 255, 255);
}
#fromDropDown[aria-expanded="true"] {
  cursor: pointer;
  background: rgb(255, 255, 255);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  transition: all 1s;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
#fromDropDown span {
  color: #0F6CBD;
}
#fromDropDown #caret {
  width: 0;
  height: 0;
  position: relative;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: solid 6px #0F6CBD;
  transition: all .5s;
}
#fromDropDown #caret:before {
  content: '';
  position: absolute; 
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid white;
  transition: all .5s;
  top: -8px;
  left: -6px;
}
#fromDropDown:hover #caret:before,
#fromDropDown:focus #caret:before {
  border-top: 6px solid rgb(231, 241, 255);
}
#fromDropDown[aria-expanded="true"] #caret:before {
  border-top: 6px solid rgb(231, 241, 255);
}
#fromDropDown[aria-expanded="true"] #caret {
  transform: rotate(180deg);
}
#fromDropDown:hover,
#fromDropDown:focus, 
#fromDropDown[aria-expanded="true"] {
  background: rgb(231, 241, 255);
}
.from #fromDisplayName {
  font-size: 16px;
}
.from p {
  margin: 0
}
#fromSection.from {
  border: 1px solid #0F6CBD;
  border-radius: 5px;
  overflow: hidden;
}
#fromDropDownStatic {
  background: rgb(231, 241, 255);
  padding: 10px 16px;
}
#fromDropDownStatic p {
  color: #0F6CBD;
  font-weight: 400;
}
#fromSection.from #dropDownContent {
  padding: 0.7em;
}
#fromSection.from #fromDisplayName {
  font-size: 16px;
}
#fromDropDownStatic p {
  margin: 0
}


/* User Disposition and Comments Section */
.content-disposition-comments {
  display: none;
  visibility: hidden;
  border: 1px solid #e1dfdd;
  border-radius: 5px;
  margin: 15px 17px 0 10px;
  padding: 10px 17px 10px 10px;
  box-shadow: 0px 0.3px 0.9px rgba(0,0,0,0.1), 0px 1.6px 3.6px rgba(0,0,0,0.1);
  background-color: #faf9f8;
}

/* User Disposition radio buttons */
#userDisposition {
  margin-bottom: 0;
}
#userDisposition .radio {
  display: flex;
  margin-bottom: .7em;
  margin-left: .5em;
}
#userDisposition .radio input {
  margin: 3px 0 0 0;
  border: 1px solid;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* hover */
#userDisposition .radio input:hover,
#userDisposition .radio input:focus {
  border-color: #0F6CBD;
}
/* Selected */
#userDisposition .radio:has(input:checked) input {
  border-color: #0F5999;
}
#userDisposition .radio label {
  cursor: pointer;
  margin: 0 0.4em;
}
#userDisposition .radio label .label{
  font-size: 14px;
  font-weight: 500;
}
/* hover */
#userDisposition .radio label:hover .label, 
#userDisposition .radio:has(input:focus) .label {
  color: #0F6CBD;
}
#userDisposition .radio label .smaller {
  font-size: 13px;
  color: #595959;
  margin-top: .2em;
}
/* Selected */
.radio:has(input:checked) .label {
  color: #0F5999;
}
#userDisposition .radio.disabled,
#userDisposition .radio:has(input:checked).disabled label span,
#userDisposition .radio.disabled label span,
#userDisposition .radio:has(input:checked).disabled label .smaller
#userDisposition .radio.disabled label .smaller {
  color: #cccccc;
}
#userDisposition .radio:has(input:checked).disabled input,
#userDisposition .radio.disabled input {
  border-color: #cccccc;
}

/* User comment textArea */
#userComment {
  padding: 10px 0px 0px 0px;
}
#userComment #userCommentField {
  font-family: "Segoe WP", "Segoe UI", "Arial", sans-serif;
  resize: none;
  color: #555;
  width: 100%;
  padding: 0.5em;
  box-sizing: border-box;
  border: 1px solid #999;
  border-radius: 5px;
}
#userComment #count {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
}
#userComment #userCommentField.disabled {
  color: #ddd;
}

/* Loading screen */
.container {
  z-index: 100;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.container.remove {
  animation: fadeOut 1s normal forwards ease-in-out;
}
.loading-icon {
  z-index: 10;
  box-sizing: border-box;
  border: 8px solid #0F6CBD;
  border-radius: 40px;
  border-top: 8px solid white;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeOut {
  0% { opacity: 1; }
  90% { opacity: 0; }
  100% { 
    opacity: 0;
    visibility: hidden;
    z-index: -100;
  }
}

/* Notification and error messaging */
#notification {
  display: flex;
  background: #3a3b3d;
  color: #fff;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px thin #000000;
  z-index: 10;
  margin: 0;
  padding: 1em;
  box-shadow: -1px -5px 10px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: -1px -5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: -1px -5px 10px rgba(0, 0, 0, 0.2);
  align-items: center;
}
#notification h2 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 0;
}
#notification p {
  font-size: 14px;
  margin: 0;
  padding: 0;
  display: flex;
}
#notification .info-icon {
  width: 30px;
  padding-right: 10px;
}
.notification-window {
  box-sizing: border-box;
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px thin #dddddd;
  background: #333;
  margin: 0;
  padding: 1em;
  min-height: 85.5px;
  color: white;
}
.notification-window.show {
  animation-name: show;
  animation-duration: .3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes show {
  0% {  
    opacity: 0;
    visibility: visible;
  }
  100% { 
    opacity: 1;
  }
}
.notification-window.hide {
  animation-name: hide;
  animation-duration: .3s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
@keyframes hide {
  0% { 
    opacity: 1;
  }
  70% { opacity: 0; }
  100% { 
    opacity: 0;
    z-index: -30;
    visibility: hidden;
  }
}
.notification-window .notification-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: .5em;
}
.notification-window .loading-icon {
  border: 3px solid white;
  border-top: 3px solid #333;
  width: 30px;
  height: 30px;
}
.notification-window .info-icon {
  border: 2px solid white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.notification-window .info-icon::before {
  content: 'i';
  font-size: 16px;
  font-weight: 500;
}

/* Notification for EWS running in mobile */
.mobileNotification {
  display: flex;
  background: #3a3b3d;
  align-items: center;
  color: #fff;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 1em;
  align-items: center;
}
.mobileNotification .info-icon {
  border: 2px solid white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: .5em;
}
.mobileNotification .info-icon::before {
  content: 'i';
  font-size: 16px;
  font-family: monospace;
}