/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 0.05rem solid #fff;
}

/*
 * Base 
 */

html,
body {
  height: 100%;
  background-color: #333 !important;
  display: flex;
  color: #fff;
  text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
  box-shadow: inset 1 1 5rem rgba(0, 0, 0, 0.5);
  margin: 0;
  padding: 0;
  flex-direction: column;
}

.disable-bootstrap-table {
  --bs-table-color: inherit !important; /* herda a cor do texto do pai */
  --bs-table-bg: inherit !important; /* herda a cor de fundo do pai */
  --bs-table-striped-color: inherit !important; /* herda a cor do texto do pai */
}

/* Login */

.disable-btn-bg {
  --bs-btn-bg: inherit !important; /* herda a cor de fundo do pai */
}

.profile-image-pic {
  height: 200px;
  width: 200px;
  object-fit: cover;
}

a {
  text-decoration: none;
}

.disable-dropdown-menu {
  --bs-dropdown-link-hover-bg: initial; /* Desabilitando a cor de fundo do hover */
}

.disable-dropdown-item-color {
  color: white !important; /* herda a cor do texto do pai */
}

.small-text-left {
  text-align: left;
}

.text-large {
  font-size: 18px; /* ajuste do tamanho da fonte da tag label*/
}

.login-text {
  font-size: 12px;
}

.login-text-register {
  font-size: 11px;
}

/*
 * Footer */
.mastfoot {
  background-color: #333 !important;
  color: white;
  padding: 1rem 0;
}

.mastfoot .heart-symbol {
  color: #ff6b6b;
}

.mastfoot a {
  color: white;
  transition: opacity 0.2s;
}

.mastfoot a:hover {
  opacity: 1;
  text-decoration: underline;
}

/*
 * Header
 */
.header-dark {
  background-color: #333 !important;
  padding: 0.5rem 0;
  min-height: 64px;
}

.header-dark .navbar-brand {
  font-size: 1.5rem;
  color: white !important;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.header-dark .text-white-50 {
  color: white !important;
}

.header-dark .navbar-brand img {
  object-fit: contain;
}

.header-dark .dropdown-toggle::after {
  display: none !important;
}

.header-dark .dropdown-menu {
  background-color: #333;
}

.masthead {
  margin-bottom: 1rem;
}

.inner {
  padding: 0; /* Remove o padding interno */
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: 0.25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background-color: transparent;
  border-bottom: 0.25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.header-title {
  margin-left: 5px;
  vertical-align: middle;
  color: #fff;
  font-weight: bold;
}

.dropdown-menu {
  background-color: #333;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}

/*
 * Cover
 */
.cover {
  padding: 150px;
}
.cover .btn-lg {
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}

.cover-container {
  min-height: 100vh; /* garante que o container principal ocupe pelo menos a altura total da viewport */
  display: flex;
  flex-direction: column;
  flex: 1; /* faz com que o container estenda para ocupar todo o espaço disponível */
}

/*
 * Main
 */

.main {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza verticalmente */
  align-items: center; /* Centraliza horizontalmente */
  flex: 1; /* Ocupa todo o espaço disponível */
}

.main .cover-heading,
.main .lead {
  color: white;
}

.main .btn-secondary {
  color: #333;
  background-color: white;
  border: 0.05rem solid white;
}

.main .btn-secondary:hover {
  color: #333;
  background-color: rgba(255, 255, 255, 0.8);
  border-color: white;
}

/*
 * Contact Form
 */

.contact-container {
  width: 60%; /* Define a largura do container */
  margin: 0 auto; /* Centraliza horizontalmente o container */
  padding: 10px; /* Adiciona preenchimento interno ao container */
  background-color: #333; /* Define a cor de fundo do container */
  border-radius: 10px; /* Adiciona borda arredondada ao container */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adiciona sombra ao container */
}

.form-select {
  background-color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #333 !important;
  padding: 0.5rem !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
}

.form-select:focus {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

.form-select option {
  background-color: #fff !important;
  text-align: center !important;
  padding: 0.75rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  margin-top: 10px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.form-select option:checked {
  background-color: #333 !important;
  color: white !important;
}

.form-select option:hover {
  background-color: #333 !important;
  color: white !important;
}

select:focus {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
}

select option {
  background-color: #fff !important;
  text-align: center !important;
  padding: 0.75rem !important;
  font-weight: 500 !important;
  color: #333 !important;
}

select option:checked {
  background-color: #333 !important;
  color: white !important;
}

select option:hover {
  background-color: #333 !important;
  color: white !important;
}

/* Estilo para o triângulo do select */
select::-ms-expand {
  display: none;
}

select::after {
  content: '▼';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

/* Ajustando a posição do menu dropdown */
select {
  position: relative;
  z-index: 1;
}

select option {
  position: relative;
  z-index: 2;
  margin-top: 10px; /* Ajusta a posição vertical do menu dropdown */
}

select option:checked {
  position: relative;
  z-index: 2;
}

select option:hover {
  position: relative;
  z-index: 2;
}

/* Estilo para o menu dropdown do select */
select option {
  background-color: #fff !important;
  text-align: center !important;
  padding: 0.75rem !important;
  font-weight: 500 !important;
  color: #333 !important;
  margin-top: 10px; /* Ajusta a posição vertical do menu dropdown */
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
}

/*
 * Estilos da tabela moderna
 */

/* Estilos base para tabela moderna */
.table-modern thead {
  background-color: #f8f9fa;
}

.table-modern th {
  font-weight: 600;
  color: #495057 !important;
  border-color: #dee2e6 !important;
  padding: 12px 16px !important;
}

/* Estilos unificados para células e peso de fonte */
.table-modern,
.table-modern *,
.table-modern td,
.table-modern th,
.table-modern tbody,
.table-modern thead,
.table-modern tr,
/* --- Tabela Profissional --- */
.table-modern {
  width: 100%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
  border: none;
  background: #fff;
}

.table-modern thead th {
  background: #f3f6fa;
  color: #3d4a5c;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  font-weight: 700;
  padding: 18px 18px 14px 18px !important;
  border-bottom: 2px solid #e0e0e0;
}

.table-modern tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background 0.2s;
}

.table-modern tbody tr:nth-child(even) {
  background: #f9fbfd;
}

.table-modern tbody tr:hover {
  background: #eaf4ff;
}

.table-modern th,
.table-modern td {
  padding: 16px 18px !important;
  vertical-align: middle;
}

.table-modern td.valor {
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 1.18rem;
  color: #2064b4;
  text-align: right;
  padding-right: 25px !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.table-modern td.valor.total {
  color: #198754;
  font-weight: 700;
  font-size: 1.22rem;
}


/* Estilos Material Design para tabela */
.table-material-design {
  width: 100%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 12px !important;
  overflow: hidden;
}

.table-material-design thead {
  background-color: #f8f9fa;
}

.table-material-design th {
  font-weight: 600 !important;
  color: #212529;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px !important;
  border-bottom: 2px solid #e9ecef;
}

.table-material-design td {
  padding: 12px 16px !important;
  color: #212529;
  font-weight: normal !important;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.table-material-design tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.table-material-design tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table-material-design tbody tr:hover {
  background-color: rgba(0,0,0,0.04);
}

.table-material-design tbody tr:last-child {
  border-bottom: none;
  background-color: #f0f0f0;
}

/* Sobrescrever fw-bold de forma definitiva */
.table-material-design td.fw-bold,
.table-material-design .fw-bold,
.table-material-design * {
  font-weight: normal !important;
}

/*
 * Footer
 */

 .footer {
  width: 100%;
  height: 10px; /* Altura do footer */
  background-color: #333; /* Cor de fundo do footer */
  color: #fff; /* Cor do texto do footer */
  text-align: center; /* Alinhamento do texto do footer */
}

.mastfoot {
  margin-top: auto; /* empurra o footer para a base se o conteúdo anterior não ocupar toda a altura */
  width: 100%;
  background-color: #333;
  color: #ffff;
  text-align: center;
}

.heart-symbol {
  color: rgb(205, 28, 93);
}

.escondido {
  display: none;
}

.white-bg-select {
  background-color: white !important;
}

.white-bg-select:focus {
  background-color: white !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
}

.bg-white option {
  background-color: white !important;
}

.bg-white option:hover,
.bg-white option:checked,
.bg-white option:focus {
  background-color: white !important;
  color: black !important;
}

/* Estilos do Formulário de Contato */
.contact-page-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  height: calc(100vh - 140px);
  overflow-y: auto;
}

.contact-form-container {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

.contact-form {
  background: rgba(51, 51, 51, 0.95);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  position: relative;
}

/* Removendo os efeitos anteriores */
.contact-form::before,
.contact-form::after {
  display: none;
}

/* Removendo qualquer hover effect anterior */
.contact-form:hover::before,
.contact-form:hover::after {
  display: none;
}

/* Removendo os estilos antigos dos inputs que tinham background escuro */
.form-control-custom {
  background-color: white !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: black !important;
}

.form-control-custom:focus {
  background-color: white !important;
  border-color: #17a2b8 !important;
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

.form-control-custom::placeholder {
  color: #6c757d;
}

/* Ajuste no botão */
.custom-button {
  background: #17a2b8;
  border: none;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.custom-button:hover:not(:disabled) {
  background: #138496;
  transform: translateY(-1px);
}

.custom-button:disabled {
  background: #0f6674;
  opacity: 0.7;
}

/* Ajuste no checkbox */
.custom-checkbox .form-check-input {
  width: 0.875rem;
  height: 0.875rem;
}

.x-small {
  font-size: 0.75rem !important;
}

/* Ajustes na barra de rolagem */
.contact-form::-webkit-scrollbar {
  width: 6px;
}

.contact-form::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.contact-form::-webkit-scrollbar-thumb {
  background: rgba(23, 162, 184, 0.5);
  border-radius: 3px;
}

.contact-form::-webkit-scrollbar-thumb:hover {
  background: rgba(23, 162, 184, 0.7);
}

/* Ajustes responsivos */
@media (max-height: 800px) {
  .contact-form {
    padding: 15px !important;
  }
  
  .form-group {
    margin-bottom: 0.5rem !important;
  }
  
  /* rows: 3; */ /* Esta propriedade não é válida em CSS */
}

/* Estilos do Login Form */
.login-page-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  height: calc(100vh - 140px);
  overflow-y: auto;
}

.login-form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.login-form {
  background: rgba(51, 51, 51, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.profile-image-pic {
  width: 120px;
  height: 120px;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, 0.2) !important;
  padding: 4px;
}

/* Estilo para o botão de mostrar/esconder senha */
.btn-link {
  color: #6c757d;
  text-decoration: none;
}

.btn-link:hover {
  color: #495057;
}

/* Ajuste nos inputs quando focados */
.form-control:focus {
  border-color: #17a2b8;
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

/* Estilos do Signup Form */
.signup-page-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  height: calc(100vh - 140px);
  overflow-y: auto;
}

.signup-form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.signup-form {
  background: rgba(51, 51, 51, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

/* Estilo para feedback de erro */
.invalid-feedback {
  font-size: 0.75rem;
  color: #ff6b6b !important;
}

/* Estilo para campos inválidos */
.form-control.is-invalid {
  border-color: #ff6b6b !important;
  background-image: none !important;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
}

/* Estilos para o feedback de senha */
.text-success {
  color: #28a745 !important;
}

.text-danger {
  color: #dc3545 !important;
}

/* Ajuste para o ícone de feedback */
.fa-check, .fa-times {
  font-size: 0.8rem;
}

/* Estilos para o Forgot Password */
.forgot-password-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  height: calc(100vh - 140px);
  overflow-y: auto;
}

.forgot-password-form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.forgot-password-form {
  background: rgba(51, 51, 51, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

/* Animação do checkmark de sucesso */
.success-checkmark {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajuste para o spinner de loading */
.spinner-border {
  width: 1rem;
  height: 1rem;
}

/* Estilos para os Termos de Uso */
.terms-container {
  flex: 1;
  padding: 40px 0;
  min-height: calc(100vh - 140px);
  overflow-y: auto;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(51, 51, 51, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.terms-section {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-section:last-child {
  border-bottom: none;
}

.terms-section h3 {
  font-size: 1.3rem;
  font-weight: 500;
}

.terms-section ul {
  list-style-type: none;
  padding-left: 1.2rem;
}

.terms-section ul li {
  margin-bottom: 0.5rem;
  position: relative;
}

.terms-section ul li::before {
  content: "•";
  position: absolute;
  left: -1.2rem;
  color: #17a2b8;
}

.text-white-50 {
  font-size: 0.95rem;
  line-height: 1.6;
}