
/* ============================================
   SANTA ROSA URBANISMO
   PERSONALIZACAO DO PORTAL MEU RH
   ============================================ */

/* CORES INSTITUCIONAIS */
:root {
  --color-brand-01-base: #D94B00 !important;
  --color-brand-01-dark: #B83D00 !important;
  --color-brand-01-darker: #963200 !important;
  --color-action-default: #D94B00 !important;
  --color-action-hover: #B83D00 !important;
  --color-page-login-link-color: #D94B00 !important;
  --color-page-login-header-welcome-color: #D94B00 !important;
  --color-page-login-background-color: #252A30 !important;
}

/* FUNDO GRAFITE */
html body .login-page {
  position: relative !important;
  isolation: isolate;
  min-height: 100vh !important;
  background: linear-gradient(
    135deg,
    #252A30 0%,
    #343A40 55%,
    #1B1F23 100%
  ) !important;
  background-image: linear-gradient(
    135deg,
    #252A30 0%,
    #343A40 55%,
    #1B1F23 100%
  ) !important;
  overflow: hidden;
}

/* LINHA DIAGONAL LARANJA */
html body .login-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    125deg,
    transparent 17%,
    rgba(217,75,0,.65) 17.08%,
    rgba(217,75,0,.65) 17.2%,
    transparent 17.3%
  );
}

/* BRILHO SUAVE NO CANTO DIREITO */
html body .login-page::after {
  content: "";
  position: absolute;
  right: -230px;
  bottom: -260px;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(
    circle,
    rgba(217,75,0,.12) 0%,
    rgba(217,75,0,.04) 40%,
    transparent 70%
  );
}

/* CARTAO DO FORMULARIO
   Aplica somente ao container que possui
   os campos de usuario e senha */
html body .login-page div:has(> po-input):has(> po-password) {
  border-radius: 14px !important;
}

/* LOGOTIPO SANTA ROSA */
html body img[src*="logo-light.svg"] {
  content: url("/web/app/RH/PortalMeuRH/assets/img/logo-santarosa.png") !important;
  width: 245px !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* BOTAO ENTRAR */
html body .login-page po-button button,
html body .login-page button.po-button {
  background-color: #D94B00 !important;
  border-color: #D94B00 !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  transition: background-color .2s ease,
              box-shadow .2s ease !important;
}

/* EFEITO HOVER */
html body .login-page po-button button:hover:not(:disabled),
html body .login-page button.po-button:hover:not(:disabled) {
  background-color: #B83D00 !important;
  border-color: #B83D00 !important;
  box-shadow: 0 4px 12px rgba(217,75,0,.25);
}

/* RECUPERACAO DE SENHA */
html body .login-page .recovery-password-container a {
  color: #D94B00 !important;
}

html body .login-page .recovery-password-container a:hover {
  color: #B83D00 !important;
  text-decoration: underline;
}

/* AJUSTES PARA CELULAR */
@media (max-width: 600px) {
  html body .login-page {
    min-height: 100dvh !important;
    overflow-x: hidden;
    overflow-y: auto;
  }

  html body img[src*="logo-light.svg"] {
    width: 200px !important;
  }

  html body .login-page::after {
    width: 350px;
    height: 350px;
    right: -180px;
    bottom: -160px;
  }
}
img.po-menu-logo {
    content: url("/web/app/RH/PortalMeuRH/assets/img/logo-santarosa.png") !important;

    width: 160px !important;
    height: auto !important;
    max-width: 100% !important;

    object-fit: contain !important;
    object-position: center !important;
}
/* NOME PERSONALIZADO NO CABEÇALHO */

.top-bar-profile h2 {
    font-size: 0 !important;
}

.top-bar-profile h2::after {
    content: "SR | Meu RH";
    font-size: 20px;
    font-weight: 700;
    color: inherit;
}
