/* .btn, .btn:active, .btn:focus, .sidenav li a.active{
  background-color: #5500ea
}
.btn:hover{
  background-color: white;
  color: #5500ea
}
a{
  color: #5500ea
} */

.sidenav li a.active {
    color: white !important;
}

.sidenav li a.active i.material-icons {
  color: white !important;
}


.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: #131314;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #e3e3e3;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: 70%;
  max-width: 400px;
  min-width: min-content;
  border-color: #8e918f;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 0;
  flex-grow: 0;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #13131461;
  border-color: #8e918f1f;
}

.gsi-material-button:disabled .gsi-material-button-state {
  background-color: #e3e3e31f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: white;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: white;
  opacity: 8%;
}


.gsi-material-button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}
#google-login-btn {
  /* display: flex !important; */
  justify-content: center !important;
  align-items: center !important;
}

/* MFA switch rows - ChatGPT style */
.mfa-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  position: relative;
  cursor: pointer;
}
.mfa-option-row:last-child {
  border-bottom: none;
}
.mfa-option-text {
  flex: 1;
  padding-right: 1rem;
}
.mfa-option-title {
  font-weight: 600;
  font-size: 1rem;
}
.mfa-option-desc {
  font-size: 0.875rem;
  color: #757575;
  margin-top: 0.25rem;
}
.mfa-option-switch {
  flex-shrink: 0;
}
.mfa-option-click-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.mfa-option-row .switch input:checked + .lever {
  background-color: rgba(85, 0, 234, 0.5) !important;
}
.mfa-option-row .switch input:checked + .lever:after {
  background-color: #5500ea !important;
}

/* OTP digit inputs - border and focus */
.otp-digit {
  border: 1px solid #9e9e9e !important;
  border-radius: 4px;
  box-sizing: border-box;
}
.otp-digit:focus {
  border-color: #5500ea !important;
  outline: none;
}
/* OTP success state - green border after code verified (all methods) */
.otp-input-container.otp-success .otp-digit,
input.otp-success#backup-code {
  border-color: #2e7d32 !important;
}

/* MFA modals */
#mfa-sms-modal.modal,
#mfa-email-modal.modal,
#mfa-authenticator-modal.modal {
  width: 90%;
  max-width: 600px;
}

/* Authenticator modal - center QR code */
#mfa-authenticator-modal #mfa-auth-qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Authenticator modal - copy key button */
#mfa-auth-copy-key {
  min-width: auto;
  padding: 4px 8px;
}
#mfa-auth-copy-key .material-icons {
  font-size: 20px;
}
