@font-face {
  font-family: "Roboto";
  src: url(/fonts/roboto/files/roboto-latin-400.woff2) format("woff2"), url(/fonts/roboto/files/roboto-latin-400.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url(/fonts/open-sans/files/open-sans-latin-400.woff2) format("woff2"), url(/fonts/open-sans/files/open-sans-latin-400.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  display: flex;
  flex-direction: column;
}

main,
header > .container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 80%;
}

header {
  width: 100%;
}

header > .container {
  padding-left: 15px;
  padding-right: 15px;
}

main {
  flex: 1 0 auto;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  font-size: 22px !important;
}

.navbar-brand {
  font-weight: 700;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.d-flex.justify-content-between {
  margin-top: auto;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

table {
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  white-space: nowrap;
}

td,
th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle !important;
  text-align: center !important;
}

.badge {
  font-size: 0.75em;
  font-weight: 400;
  padding: 0.25em 0.5em;
  color: #000 !important;
}

.small-text {
  font-size: 0.35em;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 22px;
}

.monitored-titles-table th,
.monitored-titles-table td {
  vertical-align: middle;
}

.monitored-titles-table th.text-start,
.monitored-titles-table td.text-start {
  text-align: left !important;
}

.monitored-titles-table th.text-center,
.monitored-titles-table td.text-center {
  text-align: center !important;
}

.table-datatable td,
.table-datatable th {
  text-align: center;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.btn-sm {
  font-size: 0.8rem;
}

[data-bs-theme="dark"] {
  --bs-body-color: #e9ecef;
  --bs-body-bg: #212529;
}

[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .modal-content {
  background-color: #2c3034;
  border-color: #495057;
}

[data-bs-theme="dark"] .table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.075);
}

footer {
  flex-shrink: 0;
  width: 100%;
}

[data-bs-theme="dark"] footer {
  background-color: #2b4866 !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.bg-light {
  background-color: #2b4866 !important;
  color: #9facba !important;
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0;
  }
  main,
  header > .container {
    width: 95% !important;
  }
}

.table-datatable td,
.table-datatable th {
  font-size: 14px;
  text-align: center !important;
  vertical-align: middle !important;
}

.table-datatable .title-column {
  white-space: normal;
  word-wrap: break-word;
  text-align: left !important;
}

.table-datatable .date-column {
  white-space: nowrap;
  width: 1%;
}

.table-datatable .auto-width-column {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .table-datatable .auto-width-column,
  .table-datatable .date-column {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
  }
}

.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  width: auto;
}

.bg-primary {
  background-color: #2b4866 !important;
}

.card-title {
  color: #fff !important;
}

.fas {
  padding-top: 2px !important;
}

.ms-2 {
  margin-bottom: 4px !important;
}

.header-bg {
  background-color: #2b4866 !important;
  color: #fff !important;
}

table.table.dataTable {
  margin-bottom: 1px;
}

.table-datatable thead tr th {
  background-color: #2b4866 !important;
  color: #ffffff !important;
  padding: 12px 8px;
  font-weight: 700;
  border-bottom: 2px solid #495057;
}

[data-bs-theme="light"] .table-datatable tbody {
  background-color: #fff;
  color: #2b4866;
}

[data-bs-theme="light"] .table-datatable tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .table-datatable tbody {
  background-color: #212529;
  color: #e9ecef;
}

[data-bs-theme="dark"] .table-datatable tbody tr:nth-of-type(odd) {
  background-color: #2c3034;
}

.config-page,
.admin-page {
  width: 95%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.config-page .card,
.admin-page .card {
  margin-bottom: 2rem;
}

.config-page .table-responsive,
.admin-page .table-responsive {
  overflow-x: auto;
}

@media (min-width: 1200px) {
  .config-page,
  .admin-page {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .config-page,
  .admin-page {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.config-page .table td,
.admin-page .table td,
.config-page .table th,
.admin-page .table th {
  padding: 0.75rem;
  vertical-align: middle;
}

.config-page .table .btn-sm,
.admin-page .table .btn-sm {
  padding: 0.25rem 0.5rem;
}

#back-to-top {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #2b4866;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: #3a617f;
}

[data-bs-theme="dark"] #back-to-top {
  background-color: #4a7baa;
}

[data-bs-theme="dark"] #back-to-top:hover {
  background-color: #5b8cbf;
}

@media (max-width: 768px) {
  #back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

.copy-invite-btn {
  border: none; /* Remove qualquer borda */
  background: none; /* Remove o fundo */
  padding: 0; /* Remove o preenchimento */
  cursor: pointer; /* Estilo de ponteiro ao passar o mouse */
}

.copy-invite-btn i,
.copy-invite-btn .material-icons {
  font-size: 17px;
  padding-bottom: 4px;
}
