/* Login Brand */

.login-brand .brand {
  height: 4.375rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  padding: 1.5rem 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  z-index: 1;
  color: rgba(59, 97, 209, 1);
}

@media (min-width: 768px) {
  .login-brand .brand .sidebar-brand-icon i {
    font-size: 2rem;
  }
}

/* Dropdown Menu */

@media (min-width: 576px) {
  .dropdown .dropdown-menu {
    width: auto;
    right: 0;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (min-width: 768px) {
  .sidebar .nav-item .nav-link {
    font-size: 1rem;
  }
}

/* Configs */

@media (min-width: 768px) {
  .sidebar {
    width: 18rem !important;
  }
}

.sidebar .nav-item .collapse .collapse-inner,
.sidebar .nav-item .collapsing .collapse-inner {
  max-width: 14rem;
}

.sidebar .nav-item .collapse .collapse-inner .collapse-item,
.sidebar .nav-item .collapsing .collapse-inner .collapse-item {
  white-space: normal;
}

.btn-modules {
  margin: 0px 5px;
}

input[readonly] {
  background-color: #d3d3d3; /* Cinza claro */
}

.table-danger {
  background-color: rgba(255, 99, 71, 0.2);
}

/* Configurações card de exibição de retornos */
.c-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-weight: 600;
  padding: 1.5rem;
  margin: 0;
  background-color: rgb(255, 255, 255);
  opacity: 0;
  z-index: 1050;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 320px;
  max-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  visibility: hidden;
  display: none;
  overflow-y: auto;
  border-left: 5px solid #4e73df;
}

.c-alert--show {
  opacity: 0.9;
  visibility: visible;
  display: block;
}

.c-alert--success {
  background-color: rgb(255, 255, 255);
}

.c-alert--error {
  background-color: red;
  color: white;
}

.c-alert--info {
  background-color: rgb(255, 255, 255);
}

.icon-rotate {
  animation: is-rotating 1s infinite;
}
@keyframes is-rotating {
  to {
    transform: rotate(1turn);
  }
}

/* Estilos para ícones animados no alerta */
.c-alert__icon {
  margin-bottom: 15px;
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scale-up 0.3s ease-out;
}

.c-alert--success .c-alert__icon {
  background-color: rgba(78, 115, 223, 0.1);
}

.c-alert--error .c-alert__icon {
  background-color: rgba(231, 74, 59, 0.1);
}

.c-alert--info .c-alert__icon {
  background-color: rgba(158, 120, 6, 0.1);
}

.c-alert__icon-inner {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animação para o ícone de sucesso */
.c-alert--success .c-alert__icon-inner::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #4e73df;
  border-top-color: transparent;
  animation: spinner 1s ease-in-out infinite;
}

.c-alert--success.c-alert--completed .c-alert__icon-inner::after {
  animation: none;
  border-color: #4e73df;
  border-top-color: #4e73df;
}

.c-alert--success.c-alert--completed .c-alert__icon-inner::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #4e73df;
  animation: fade-in 0.5s ease-out;
}

/* Animação para o ícone de erro */
.c-alert--error .c-alert__icon-inner::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  border-top-color: transparent;
  animation: spinner 1s ease-in-out infinite;
}

.c-alert--error.c-alert--completed .c-alert__icon-inner::after {
  animation: none;
  border-color: #fff;
  border-top-color: #fff;
}

.c-alert--error.c-alert--completed .c-alert__icon-inner::before {
  content: '✕';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #fff;
  animation: fade-in 0.5s ease-out;
}

/* Animação para o ícone de informação */
.c-alert--info .c-alert__icon-inner::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #ff8c00;
  border-top-color: transparent;
  animation: spinner 1s ease-in-out infinite;
}

.c-alert--info.c-alert--completed .c-alert__icon-inner::after {
  animation: none;
  border-color: #ff8c00;
  border-top-color: #ff8c00;
}

.c-alert--info.c-alert--completed .c-alert__icon-inner::before {
  content: 'ℹ️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #ff8c00;
  animation: fade-in 0.5s ease-out;
}

/* Centralizando o conteúdo do alerta */
.c-alert {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Erro confirmação de senha */

.erro-confirmar-senha {
  color: #e74a3b;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.mostrar-senhas-label {
  color: #7d8288;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  padding-right: 20px;
}

/* Animações */
@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scale-up {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Footer */

.footer-shadow {
  box-shadow: 0 -0.475rem 2.75rem rgba(0, 0, 0, 0.075);
}

/* Link Dev Rodapé */

.dev__link,
.dev__dir,
.dev__arco {
  color: #7d8288;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.dev__link .dev__arco:hover {
  color: #f9a13f;
}

.dev__link .dev__arco:hover .dev__logo svg {
  filter: brightness(1);
}

.dev__link .dev__logo svg {
  filter: brightness(1);
  width: 22px;
  height: 22px;
  margin-left: 5px;
}

.dev__link .dev__logo:hover svg {
  filter: brightness(1);
}

.dev__link .dev__logo:hover .dev__arco {
  color: #f9a13f;
}

/* FIm Link Dev */

/* Páginas de Erro */

/* Adicione ou atualize com estes estilos para as páginas de erro */

.error {
  color: #5a5c69;
  font-size: 7rem;
  position: relative;
  line-height: 1;
  width: 12.5rem;
  margin: 0 auto;
}

.error:before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  text-shadow: 1px 0 #e74a3b;
  top: 0;
  color: #5a5c69;
  background: #f8f9fc;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  animation: noise-anim-2 3s infinite linear alternate-reverse;
}

.error:after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -1px 0 #4e73df;
  top: 0;
  color: #5a5c69;
  background: #f8f9fc;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  animation: noise-anim 2s infinite linear alternate-reverse;
}

@keyframes noise-anim {
  0% {
    clip: rect(39px, 9999px, 40px, 0);
  }
  5% {
    clip: rect(36px, 9999px, 72px, 0);
  }
  10% {
    clip: rect(25px, 9999px, 73px, 0);
  }
  15% {
    clip: rect(58px, 9999px, 5px, 0);
  }
  20% {
    clip: rect(82px, 9999px, 17px, 0);
  }
  25% {
    clip: rect(32px, 9999px, 5px, 0);
  }
  30% {
    clip: rect(26px, 9999px, 48px, 0);
  }
  35% {
    clip: rect(47px, 9999px, 11px, 0);
  }
  40% {
    clip: rect(75px, 9999px, 15px, 0);
  }
  45% {
    clip: rect(57px, 9999px, 53px, 0);
  }
  50% {
    clip: rect(93px, 9999px, 92px, 0);
  }
  55% {
    clip: rect(5px, 9999px, 54px, 0);
  }
  60% {
    clip: rect(66px, 9999px, 63px, 0);
  }
  65% {
    clip: rect(84px, 9999px, 34px, 0);
  }
  70% {
    clip: rect(96px, 9999px, 13px, 0);
  }
  75% {
    clip: rect(8px, 9999px, 81px, 0);
  }
  80% {
    clip: rect(30px, 9999px, 82px, 0);
  }
  85% {
    clip: rect(65px, 9999px, 67px, 0);
  }
  90% {
    clip: rect(13px, 9999px, 47px, 0);
  }
  95% {
    clip: rect(45px, 9999px, 10px, 0);
  }
  100% {
    clip: rect(47px, 9999px, 79px, 0);
  }
}

@keyframes noise-anim-2 {
  0% {
    clip: rect(16px, 9999px, 32px, 0);
  }
  5% {
    clip: rect(54px, 9999px, 31px, 0);
  }
  10% {
    clip: rect(15px, 9999px, 96px, 0);
  }
  15% {
    clip: rect(60px, 9999px, 59px, 0);
  }
  20% {
    clip: rect(6px, 9999px, 32px, 0);
  }
  25% {
    clip: rect(8px, 9999px, 5px, 0);
  }
  30% {
    clip: rect(82px, 9999px, 48px, 0);
  }
  35% {
    clip: rect(88px, 9999px, 30px, 0);
  }
  40% {
    clip: rect(24px, 9999px, 14px, 0);
  }
  45% {
    clip: rect(16px, 9999px, 49px, 0);
  }
  50% {
    clip: rect(27px, 9999px, 31px, 0);
  }
  55% {
    clip: rect(72px, 9999px, 28px, 0);
  }
  60% {
    clip: rect(95px, 9999px, 34px, 0);
  }
  65% {
    clip: rect(8px, 9999px, 74px, 0);
  }
  70% {
    clip: rect(51px, 9999px, 46px, 0);
  }
  75% {
    clip: rect(41px, 9999px, 84px, 0);
  }
  80% {
    clip: rect(94px, 9999px, 85px, 0);
  }
  85% {
    clip: rect(19px, 9999px, 77px, 0);
  }
  90% {
    clip: rect(66px, 9999px, 97px, 0);
  }
  95% {
    clip: rect(77px, 9999px, 33px, 0);
  }
  100% {
    clip: rect(12px, 9999px, 23px, 0);
  }
}

/* Icones Geração de Módulos */

#icone-preview {
  width: 40px;
  height: 38px;
  margin: 0 auto;
}

/* Ajustes na consulta de licitantes */

.table td {
  vertical-align: middle;
}

.badge {
  font-size: 0.75em;
}

code {
  background-color: #f8f9fa;
  color: #495057;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}
