﻿﻿﻿html {
  width: 100%;
  height: 100%;
  font-size: 16px;
  line-height: 1.15;
  color: #ffffff;
  text-align: left;
  background-color: #0d0f3b;
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: 25px;
  margin-bottom: 24px;
}

h2 {
  font-size: 17px !important;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

a {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

a:visited {
  color: black;
}

body {
  background-color: #1a1a1a;
  /* background-image: url("resources/bg_seidor.png"); */
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='0' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%231c3e7f'/%3E%3Cstop offset='1' stop-color='%231c3e7f' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='1200' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23051a37'/%3E%3Cstop offset='1' stop-color='%23051a37' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='600' cy='0' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%230d6282'/%3E%3Cstop offset='1' stop-color='%230d6282' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='d' cx='600' cy='800' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%230D0F3B'/%3E%3Cstop offset='1' stop-color='%230D0F3B' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='e' cx='0' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%232A8DC3'/%3E%3Cstop offset='1' stop-color='%232A8DC3' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='f' cx='1200' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23002731'/%3E%3Cstop offset='1' stop-color='%23002731' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Crect fill='url(%23b)' width='1200' height='800'/%3E%3Crect fill='url(%23c)' width='1200' height='800'/%3E%3Crect fill='url(%23d)' width='1200' height='800'/%3E%3Crect fill='url(%23e)' width='1200' height='800'/%3E%3Crect fill='url(%23f)' width='1200' height='800'/%3E%3C/svg%3E"); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center, center;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  align-content: center;
}

form {
}

.divsubmit {
}

::placeholder {
  color: #555;
  opacity: 1;
}

.ids-input-group--login {
  margin: 0;
}

.ids-login-container {
  border-radius: 10px;
  margin: 1px auto;
  width: 100%;
  background: linear-gradient(#ffffff, #ffffff1f);
  padding: 42px 30px 0px 30px;
  border: none;
}

.ids-login-sp {
  all: unset;
  display: flex;
  align-content: flex-end;
  justify-content: flex-end;
  height: 50px;
  margin-bottom: -10px;
}

.ids-footer {
  display: none;
}

.ids-main {
  background-color: transparent !important;
}

.ids-main__content {
  padding-top: 0;
}

#forgotPasswordLink {
  color: black;
  font-size: 14px;
}

#j_username,
#j_password {
  font-size: 14px;
}

#test-service-provider-name {
  font-size: 0px;
}

.ids-login-login--border {
  border: none;
}

.ids-button-group {
  padding: 0 !important;
}

.ids-label {
  color: white;
}

.ids-label-container {
  height: 20px;
  line-height: 30px;
  margin-left: 10px;
  text-align: left !important;
}

.ids-heading-1--login,
.ids-heading-1 {
  font-size: 22px;
  color: #000000;
}

::-webkit-input-placeholder {
  color: transparent;
}

::-moz-placeholder {
  color: transparent;
}

:-ms-input-placeholder {
  color: transparent;
}

[data-page="ids-login/logon"] .ids-heading-1--login {
  display: none;
}

button#logOnFormSubmit,
button#test-submit-button,
button#sapStoreRegisterFormSubmit {
  border-radius: 5px;
  text-transform: uppercase;
  background: #40608f;
  width: 100%;
  border: 0;
  padding: 15px;
  font-size: 15px;
  cursor: pointer;
  font: inherit;
}

button#logOnFormSubmit:hover,
button#logOnFormSubmit:active,
button#logOnFormSubmit:focus,
button#test-submit-button:hover,
button#test-submit-button:active,
button#test-submit-button:focus,
button#sapStoreRegisterFormSubmit:hover,
button#sapStoreRegisterFormSubmit:active,
button#sapStoreRegisterFormSubmit:focus {
  background: #0054ff;
}

button#logOnFormSubmit:hover,
button#logOnFormSubmit:active,
button#logOnFormSubmit:focus {
  width: 100%;
}

.ids-input {
  padding: 15px !important;
}

.fd-input-group {
  display: flex;
}

.icon-login {
  display: inline-block;
  background-size: 35px !important;
  text-decoration: none;
  padding: 19px;
  margin-right: 6px;
}

.icon-login.icon-user {
  background: url(resources/e1_icon_user.png) no-repeat left center;
}

.icon-login.icon-password {
  background: url(resources/e1_icon_pass.png) no-repeat left center;
}

.icon-login.icon-organization {
  background: url(resources/e1_icon_corp.png) no-repeat left center;
}

.icon-forget-password {
  background: url(resources/e1_icon_forget_pass.png) no-repeat left center;
  display: inline-block;
  background-size: 35px !important;
  text-decoration: none;
  padding: 19px;
  margin-right: 6px;
}

.ids-input.input-icon {
  display: inline-block;
  background-size: 35px;
  text-decoration: none;
  background-position-x: 4px;
}

.ids-input::placeholder {
  color: #555;
  opacity: 1;
}

.ids-input-select {
  padding-left: 12px !important;
  padding-right: 15px !important;
  display: inline-block;
  background-size: 35px !important;
  text-decoration: none;
  background-position-x: 4px !important;
}

.ids-button-group,
.ids-login-login {
  width: 100%;
}

.ids-button-group--centered .ids-button {
  float: left;
}

label#rememberme-label {
  color: black;
}

li.ids-input-group__item {
  text-align: left;
  letter-spacing: initial;
}

.ids-control-container textarea,
.ids-control-container input[type="text"],
.ids-control-container input[type="password"],
.ids-control-container input[type="email"],
.ids-control-container input[type="tel"],
.ids-control-container select {
  border-radius: 0px;
  border: 0px;
  height: 45px;
  font-family: inherit;
  border-width: 0.5px;
  background-color: transparent;
  border-bottom: 2px solid #333;
}

.ids-button {
  font-weight: normal;
}

.ids-login-section {
  padding: 0;
}

.ids-login-section li {
  margin: 16px 0 0 0;
}

.ids-login__forgotpassword {
  font-size: 14px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ids-login-login--border {
  padding-left: 0 !important;
}

.ids-login__forgotpassword a,
a:hover,
a:active,
a:visited,
a:focus {
  color: #303030 !important;
}

[data-page="ids-forgot_password/create"]
  .ids-main
  .ids-main__content
  .ids-container,
[data-page="ids-registration/new"] .ids-main .ids-main__content .ids-container {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px 30px 40px 30px;
  text-align: center;
  border: 1px solid #979797;
}

[data-page="ids-forgot_password/create"]
  .ids-main
  .ids-main__content
  .ids-container
  .ids-heading-1 {
  position: static;
}

#ids-p {
  font-size: 13px;
}

.ids-required-marker {
  color: #3e83f2;
}

.ids-login-sp__logo img {
  max-height: 50px;
  margin-bottom: -10px;
}

.icon {
  max-height: 24px;
  margin: 8px 8px 4px 4px;
}

img.bgtitle {
  position: absolute;
  top: 2rem;
  left: 2rem;
  max-height: 100px;
  width: auto;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: #333;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px #23232300;
}

.digit-container {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.digit-input {
  width: 50px;
  max-width: 50px !important;
  height: 60px;
  border: 2px solid #b8b8b8;
  border-radius: 12px;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: #424242;
  background: #ffffffd3;
  outline: none;
  transition: all 0.2s ease;
  caret-color: #424242;
}

.digit-input:hover {
  border-color: #cbd5e1;
}

.digit-input:focus {
  border-color: #333333;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.digit-input.filled {
  border-color: #6e6e6e;
  background: #ffffffe6;
}

.value-display {
  font-family: "Courier New", monospace;
  font-size: 20px;
  color: #34383d;
  background: #f1f5f9;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 8px;
  letter-spacing: 2px;
}

.empty {
  color: #94a3b8;
}

.container-mfa {
  padding: 0px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.display-block {
  display: block;
}

.hide {
  display: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(#ffffff, #ffffff1f);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.5s ease;
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #a0aec0;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close:hover {
  background: #edf2f7;
  color: #2d3748;
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
  text-align: center;
}

.modal-subtitle {
  color: #718096;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
  font-size: 14px;
}

.qr-container {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 176px;
}

#qrcode {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 8px;
}

#qrcode svg {
  max-width: 100%;
  height: 176px;
}

.instruction {
  background: #f7f7f7;
  border-left: 4px solid #0dde7c;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  text-align: left;
}

.instruction h4 {
  color: #2d3748;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.instruction ol {
  color: #4a5568;
  font-size: 13px;
  line-height: 1.5;
  margin-left: 16px;
  margin-bottom: 0;
}

.instruction li {
  margin-bottom: 4px;
}

@media only screen and (max-width: 320px) {
  body {
    padding-top: 50px;
  }

  .ids-login-login--border {
    padding-left: 0;
  }

  .ids-login-login--border {
    padding-bottom: 18px;
  }

  .ids-heading-1--login {
    display: block;
  }

  .ids-input-group--user {
    padding-bottom: 18px;
  }

  .digit-container {
    gap: 5px;
  }

  .digit-input {
    min-height: 42px !important;
    min-width: 42px !important;
    height: 42px;
  }
}

@media only screen and (max-width: 991px) {
  button#test-submit-button,
  button#sapStoreRegisterFormSubmit {
    width: 100%;
    margin: 0;
  }
}

@media only screen and (min-width: 600px) {
  .ids-login-container {
    width: 420px;
  }
}

@media only screen and (min-width: 992px) {
  button#test-submit-button,
  button#sapStoreRegisterFormSubmit {
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    float: none;
  }
}

/* Centraliza horizontalmente a imagem se a largura da página for pequena */
@media (max-width: 600px) {
  img.bgtitle {
    position: static;
    /* Remove a posição absoluta */
    display: block;
    margin: 0 auto;
    /* Centraliza horizontalmente */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
