/*
 * Área Restrita de Análise de Concreto - Politécnica Engenharia
 * Customizações locais sobre o template Bootstrap base do smtp.assessoriaweb.com.
 *
 * Regra: manter bibliotecas/template em css/style.css, css/color.css e vendor/*.
 * Este arquivo deve conter apenas ajustes específicos do /concreto.
 */

/* --------------------------------------------------------------------------
   1. Tokens locais
   -------------------------------------------------------------------------- */
:root {
  --concreto-primary: #ffb923;
  --concreto-primary-dark: #d99400;
  --concreto-dark: #171717;
  --concreto-surface: #202124;
  --concreto-surface-2: #27292d;
  --concreto-border: rgba(255, 255, 255, .12);
  --concreto-muted: rgba(255, 255, 255, .68);
  --concreto-muted-soft: rgba(255, 255, 255, .52);
  --concreto-radius: .9rem;
  --concreto-radius-sm: .55rem;
  --concreto-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  --concreto-shadow-sm: 0 5px 13px rgba(0, 0, 0, .12);
}

/* --------------------------------------------------------------------------
   2. Base / tema
   -------------------------------------------------------------------------- */
body[data-bs-theme="dark"],
body[data-bs-theme="dark"] main {
  background: var(--concreto-dark);
}

body[data-bs-theme="dark"] .text-muted {
  color: var(--concreto-muted-soft) !important;
}

body[data-bs-theme="dark"] main p,
body[data-bs-theme="dark"] main small,
body[data-bs-theme="dark"] main .text-body {
  color: var(--concreto-muted);
}

body[data-bs-theme="dark"] main h1,
body[data-bs-theme="dark"] main h2,
body[data-bs-theme="dark"] main h3,
body[data-bs-theme="dark"] main h4,
body[data-bs-theme="dark"] main h5,
body[data-bs-theme="dark"] main h6 {
  color: #fff;
}

body[data-bs-theme="dark"] main section:not(:first-child) h1,
body[data-bs-theme="dark"] main section:not(:first-child) h4,
body[data-bs-theme="dark"] main section:not(:first-child) h5,
body[data-bs-theme="dark"] main section:not(:first-child) h6 {
  color: #b8b8b8;
  font-weight: 700;
}

body[data-bs-theme="dark"] main section:not(:first-child) h2,
body[data-bs-theme="dark"] main section:not(:first-child) h3,
body[data-bs-theme="dark"] main section:not(:first-child) .h3 {
  color: #fff;
  font-weight: 700;
}

.text-primary,
.count-number-primary,
section.pt-0 .card.card-hover-shadow h4,
section.pt-0 .card.card-hover-shadow h4 i,
section.pt-0 .card.card-hover-shadow .text-primary {
  color: var(--concreto-primary) !important;
}

.bg-theme {
  background-color: #222 !important;
}

.min-w-0 {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   3. Cards, formulários e botões
   -------------------------------------------------------------------------- */
body[data-bs-theme="dark"] .card,
body[data-bs-theme="dark"] .card-body,
body[data-bs-theme="dark"] .card-header {
  background-color: var(--concreto-surface);
  border-color: var(--concreto-border) !important;
}

body[data-bs-theme="dark"] .card {
  border-radius: var(--concreto-radius);
  box-shadow: var(--concreto-shadow);
}

body[data-bs-theme="dark"] .form-control,
body[data-bs-theme="dark"] .form-select {
  color: #fff;
  border-color: var(--concreto-border);
}

body[data-bs-theme="dark"] .form-control::placeholder {
  color: rgba(255, 255, 255, .45);
}

.form-control:focus,
.form-select:focus,
.input-floating-label .form-control:focus,
.obras-filter .form-control:focus,
.obras-filter .form-select:focus {
  border-color: var(--concreto-primary-dark);
  box-shadow: 0 0 0 .2rem rgba(214, 156, 47, .18);
}

.input-floating-label .form-control {
  min-height: 54px;
  border-radius: .85rem;
}

.btn,
.btn-sm,
.btn-light,
.btn-off,
.btn-primary,
.btn-theme {
  border-radius: var(--concreto-radius-sm);
}

.btn-primary,
.btn-theme {
  --bs-btn-bg: rgba(214, 156, 47, .10);
  --bs-btn-border-color: rgba(214, 156, 47, .58);
  --bs-btn-color: var(--concreto-primary-dark);
  --bs-btn-hover-bg: var(--concreto-primary-dark);
  --bs-btn-hover-border-color: var(--concreto-primary-dark);
  --bs-btn-hover-color: #222;
  --bs-btn-active-bg: #c88f24;
  --bs-btn-active-border-color: #c88f24;
  --bs-btn-active-color: #222;
  font-weight: 700;
  box-shadow: 0 5px 13px rgba(214, 156, 47, .18);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.btn-light.border,
.dashboard-header-actions .btn-light,
.shortcuts-grid .btn-light,
.recent-files-panel .btn-light,
.admin-user-nav .btn-light {
  border-color: transparent !important;
}

body[data-bs-theme="dark"] .btn-light,
body[data-bs-theme="dark"] .btn-off,
.btn-off {
  background: rgba(214, 156, 47, .08);
  border-color: transparent !important;
  color: var(--concreto-primary-dark);
  font-weight: 700;
  box-shadow: var(--concreto-shadow-sm);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

body[data-bs-theme="dark"] .btn-light:hover,
body[data-bs-theme="dark"] .btn-light:focus,
body[data-bs-theme="dark"] .btn-off:hover,
body[data-bs-theme="dark"] .btn-off:focus,
.btn-off:hover,
.btn-off:focus {
  background: rgba(214, 156, 47, .14);
  color: var(--concreto-primary-dark);
  box-shadow: 0 6px 15px rgba(214, 156, 47, .16);
}

body:not([data-bs-theme="dark"]) .btn-theme {
  color: #222;
}

.btn-login-submit {
  padding-left: 2.25rem;
  padding-right: 2.25rem;
  background: var(--concreto-primary-dark) !important;
  border-color: var(--concreto-primary-dark) !important;
  color: #222 !important;
  box-shadow: 0 8px 18px rgba(214, 156, 47, .34), 0 1px 0 rgba(255, 255, 255, .14) inset !important;
}

.btn-login-submit:hover,
.btn-login-submit:focus {
  background: var(--concreto-primary) !important;
  border-color: var(--concreto-primary) !important;
  color: #222 !important;
  box-shadow: 0 10px 22px rgba(214, 156, 47, .42), 0 1px 0 rgba(255, 255, 255, .18) inset !important;
}

.fakepasswordicon {
  color: rgba(255, 255, 255, .58);
}

.admin-login-page .admin-login-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  background: transparent;
}

.admin-login-social-links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

/* --------------------------------------------------------------------------
   4. Cabeçalho / navegação
   -------------------------------------------------------------------------- */
.navbar-brand-item {
  min-height: 80px;
}

.header-absolute .navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-absolute .navbar .nav-link {
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
}

.header-absolute .navbar .nav-link:hover,
.header-absolute .navbar .nav-link.active {
  color: var(--concreto-primary);
}

.header-absolute .navbar-collapse {
  gap: 1rem;
}

.admin-user-nav {
  min-width: max-content;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .05);
}

.admin-user-chip i {
  color: var(--concreto-primary);
}

/* --------------------------------------------------------------------------
   5. Tabelas e paginação
   -------------------------------------------------------------------------- */
.custom-table {
  width: 100%;
  margin-bottom: 0;
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.custom-table thead th {
  background: var(--concreto-primary);
  color: #222;
  vertical-align: middle;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.custom-table thead th:first-child {
  border-top-left-radius: .5rem;
}

.custom-table thead th:last-child {
  border-top-right-radius: .5rem;
}

.custom-table tbody td {
  vertical-align: middle;
  background: transparent;
  word-break: break-word;
  font-size: .86rem;
}

.custom-table tbody tr:hover td,
body:not([data-bs-theme="dark"]) .custom-table tbody tr:hover td,
.table tbody tr:hover td {
  background: rgba(255, 185, 35, .05);
}

.custom-table th,
.custom-table td {
  min-width: 0;
}

.custom-table tbody td:first-child strong {
  display: block;
  max-width: 260px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
}

.cell-truncate {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.obras-panel {
  overflow: hidden;
  border-radius: var(--concreto-radius-sm);
  background: transparent !important;
  box-shadow: none;
}

.obras-panel .card-body,
.obras-panel .table-responsive,
.obras-table {
  background: transparent !important;
}

.obras-table.custom-table thead th {
  background: rgba(255, 255, 255, .055);
  color: #aeb0b4;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  font-size: .72rem;
}

.obras-table.custom-table thead th:first-child,
.obras-table.custom-table thead th:last-child {
  border-radius: 0;
}

.obras-table.custom-table tbody td {
  border-color: rgba(255, 255, 255, .075);
}

.obras-table.custom-table tbody tr:hover td {
  background: rgba(255, 255, 255, .035);
}

.obras-table strong {
  color: #fff;
  font-weight: 600;
}

.obras-table .btn-table-action {
  min-height: 2.1rem;
  padding: .5rem .85rem;
  border-color: transparent !important;
  background: rgba(214, 156, 47, .08);
  color: var(--concreto-primary-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .10);
  white-space: nowrap;
}

.obras-table .btn-table-action:hover,
.obras-table .btn-table-action:focus,
.obras-table .btn-table-action:active {
  background: rgba(214, 156, 47, .14);
  color: var(--concreto-primary-dark);
  box-shadow: 0 5px 12px rgba(214, 156, 47, .14);
}

.obras-table .btn-table-danger,
.user-modal-content .btn-confirm-delete {
  background: rgba(220, 53, 69, .14) !important;
  border-color: rgba(220, 53, 69, .22) !important;
  color: #dc3545 !important;
  box-shadow: 0 5px 12px rgba(220, 53, 69, .12) !important;
}

.obras-table .btn-table-danger:hover,
.obras-table .btn-table-danger:focus,
.obras-table .btn-table-danger:active,
.user-modal-content .btn-confirm-delete:hover,
.user-modal-content .btn-confirm-delete:focus {
  background: rgba(220, 53, 69, .22) !important;
  border-color: rgba(220, 53, 69, .30) !important;
  color: #dc3545 !important;
}

.obras-table .btn-icon-action {
  width: 2.1rem;
  min-width: 2.1rem;
  padding-left: 0;
  padding-right: 0;
}

.pagination-primary-soft {
  gap: .35rem;
}

.pagination-primary-soft .page-link {
  min-width: 2.65rem;
  min-height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--concreto-radius-sm) !important;
  border-color: rgba(214, 156, 47, .32);
  background: rgba(214, 156, 47, .08);
  color: var(--concreto-primary-dark);
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--concreto-shadow-sm);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.pagination-primary-soft .page-link:hover,
.pagination-primary-soft .page-link:focus {
  border-color: rgba(214, 156, 47, .58);
  background: rgba(214, 156, 47, .14);
  color: var(--concreto-primary-dark);
  box-shadow: 0 6px 15px rgba(214, 156, 47, .16);
}

.pagination-primary-soft .page-item.active .page-link {
  background: var(--concreto-primary-dark);
  border-color: var(--concreto-primary-dark);
  color: var(--concreto-dark) !important;
  box-shadow: 0 6px 15px rgba(214, 156, 47, .24);
}

.pagination-primary-soft .page-item.disabled .page-link {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
  color: rgba(255, 255, 255, .34);
  box-shadow: none;
}

.obras-pagination {
  padding-bottom: .25rem;
}

.obras-pagination .pagination-primary-soft .page-link {
  min-width: 2.45rem;
}

.obras-pagination .pagination-primary-soft .page-item:first-child .page-link,
.obras-pagination .pagination-primary-soft .page-item:last-child .page-link {
  min-width: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.table-loading {
  opacity: .55;
  pointer-events: none;
  transition: opacity .18s ease;
}

/* --------------------------------------------------------------------------
   6. Dashboard / listas
   -------------------------------------------------------------------------- */
.dashboard-client-title {
  font-size: clamp(1.65rem, 2.15vw, 2.15rem);
  line-height: 1.12;
  font-weight: 700;
}

.section-heading-outside h3,
.card-header h3 {
  font-size: clamp(1.08rem, 1.3vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: .045em;
}

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
}

.shortcuts-grid > div:not(.shortcut-search) {
  min-width: 0;
}

.shortcut-search {
  grid-column: span 2;
}

.shortcut-search .form-control {
  min-height: 45px;
  border-radius: .75rem;
}

body[data-bs-theme="dark"] .shortcuts-block {
  background: transparent;
  border-color: transparent !important;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.count-number {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.recent-files-panel,
.recent-files-panel .card-header,
.recent-files-panel .card-body {
  background: transparent !important;
  box-shadow: none;
}

.recent-files-panel .card-header,
.recent-files-panel .card-body {
  border-color: rgba(255, 255, 255, .10) !important;
}

.smtp-file-row:first-child {
  padding-top: .75rem;
}

.smtp-file-row:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.smtp-file-row p.small {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .68rem !important;
  opacity: .72;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.smtp-file-row h6 {
  max-width: 260px;
  color: #fff;
  font-size: .98rem !important;
  font-weight: 700;
  line-height: 1.22;
}

.smtp-file-row small {
  font-size: .74rem;
}

.smtp-file-icon {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent !important;
  color: #fff !important;
  font-size: 2.25rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   7. Status / tags
   -------------------------------------------------------------------------- */
.status-tag {
  --tag-color: #aeb0b4;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: .35rem;
  padding: .34rem .62rem;
  border: 1px solid rgba(174, 176, 180, .26);
  border-radius: var(--concreto-radius-sm);
  background: rgba(174, 176, 180, .08);
  color: rgba(216, 216, 216, .84);
  font-size: .72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-tag::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--tag-color);
  opacity: .78;
}

.status-tag-warning {
  --tag-color: #d69c2f;
  color: #d6b166;
  background: rgba(214, 156, 47, .08);
  border-color: rgba(214, 156, 47, .48);
}

.status-tag-success {
  --tag-color: #2fa866;
  color: #90d8b0;
  background: rgba(47, 168, 102, .08);
  border-color: rgba(47, 168, 102, .48);
}

.status-tag-danger {
  --tag-color: #d94b59;
  color: #e7979f;
  background: rgba(217, 75, 89, .08);
  border-color: rgba(217, 75, 89, .48);
}

.status-tag-info {
  --tag-color: #4b94c9;
  color: #93bee0;
  background: rgba(75, 148, 201, .08);
  border-color: rgba(75, 148, 201, .48);
}

.status-tag-muted {
  --tag-color: #aeb0b4;
  color: rgba(216, 216, 216, .74);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .14);
}

/* --------------------------------------------------------------------------
   8. Obras, filtros e área restrita
   -------------------------------------------------------------------------- */
.row.g-4.mb-4 .card.border,
.row.g-4.mb-4 .card.border .card-body {
  border-radius: var(--concreto-radius-sm);
}

.row.g-4.mb-4 .card.border {
  overflow: hidden;
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .035) !important;
  box-shadow: var(--concreto-shadow-sm);
}

.card[style*="social-media"] h4 {
  color: #fff !important;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.15;
}

section.pt-0 .card.card-hover-shadow h6 {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.25;
}

section.pt-0 .card.card-hover-shadow h4,
section.pt-0 .card.card-hover-shadow h4 i,
section.pt-0 .card.card-hover-shadow .text-primary {
  font-size: 1.55rem;
  line-height: 1;
}

.obras-filter {
  border: 0;
  border-radius: var(--concreto-radius-sm);
  background: transparent !important;
  padding: 0 !important;
}

.obras-filter .form-label {
  color: rgba(255, 255, 255, .72);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.obra-detail-card,
.obra-detail-card + .row {
  min-width: 0;
}

.obra-users-table .cell-truncate {
  max-width: 220px;
}

.table-title-link,
.client-document-link {
  color: #fff;
  text-decoration: none;
  text-underline-offset: .18em;
  transition: color .18s ease;
}

.table-title-link:hover,
.table-title-link:focus,
.client-document-link:hover,
.client-document-link:focus {
  color: var(--concreto-primary);
  text-decoration: none;
}

.obra-title-link {
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   9. Modais do admin
   -------------------------------------------------------------------------- */
.user-modal-dialog {
  max-width: 520px;
}

body[data-bs-theme="dark"] .user-modal-content {
  background: var(--concreto-surface);
  border: 0;
  border-radius: var(--concreto-radius);
  box-shadow: var(--concreto-shadow);
}

.user-modal-content .modal-header,
.user-modal-content .modal-body,
.user-modal-content .modal-footer {
  padding-left: 4rem;
  padding-right: 4rem;
}

.user-modal-content .modal-header {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.user-modal-content .modal-body {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.user-modal-content .modal-footer {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
}

body[data-bs-theme="dark"] .user-modal-content .modal-header,
body[data-bs-theme="dark"] .user-modal-content .modal-footer {
  border: 0;
}

.modal-user-fields {
  display: grid;
  gap: 1.15rem;
}

body[data-bs-theme="dark"] .user-modal-content .form-control,
body[data-bs-theme="dark"] .user-modal-content .form-select {
  border-color: var(--concreto-border);
  background: rgba(255, 255, 255, .04) !important;
}

body[data-bs-theme="dark"] .user-modal-content .form-control:focus,
body[data-bs-theme="dark"] .user-modal-content .form-select:focus {
  border-color: var(--concreto-primary-dark);
  box-shadow: 0 0 0 .2rem rgba(214, 156, 47, .18);
}

body[data-bs-theme="dark"] .user-modal-content .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: .8;
}

/* --------------------------------------------------------------------------
   10. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .header-absolute .navbar-collapse {
    padding: 1rem;
    margin-top: .75rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: rgba(20, 20, 20, .96);
  }

  .admin-user-nav {
    min-width: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 991px) {
  .shortcuts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shortcut-search {
    grid-column: span 2;
  }

  .dashboard-header-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

}

@media (max-width: 767px) {
  .admin-hero,
  .client-hero {
    padding-top: 6rem !important;
    padding-bottom: 4.5rem !important;
  }

  .admin-hero .pt-8,
  .client-hero .pt-8 {
    padding-top: 5.25rem !important;
  }

  .custom-table tbody td:first-child strong {
    max-width: 180px;
  }

  .section-heading-outside {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .section-heading-outside .status-tag,
  .section-heading-outside .btn {
    align-self: flex-start;
  }

  .page-title-row {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 1rem;
  }

  .page-title-row .dashboard-header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .page-title-row .dashboard-header-actions .btn {
    white-space: nowrap;
  }

  .user-modal-content .modal-header,
  .user-modal-content .modal-body,
  .user-modal-content .modal-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .user-modal-content .modal-header {
    padding-top: 2.25rem;
    padding-bottom: 1.25rem;
  }

  .user-modal-content .modal-body {
    padding-bottom: 1.75rem;
  }

  .user-modal-content .modal-footer {
    padding-top: 1.25rem;
    padding-bottom: 2.25rem;
  }

  .dashboard-recent-clients-table th:nth-child(n+3),
  .dashboard-recent-clients-table td:nth-child(n+3),
  .obras-list-table th:nth-child(n+2),
  .obras-list-table td:nth-child(n+2) {
    display: none;
  }

  .obras-list-table,
  .obras-list-table.custom-table {
    min-width: 0;
  }

  .obras-list-table.custom-table tbody td:first-child strong {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .navbar-brand-item {
    min-height: 58px;
  }

  .admin-login-page {
    overflow-y: hidden;
  }

  .admin-login-page main .vh-100 {
    height: 100svh !important;
  }

  .admin-login-page main .col-sm-10.my-5.m-auto {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .admin-login-page .admin-login-footer .py-3 {
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
  }

  .admin-login-page .navbar-brand {
    margin-right: .75rem !important;
  }

  .admin-login-social-links {
    gap: .15rem;
  }

  .admin-login-social-links .btn-icon {
    width: 2rem;
    height: 2rem;
  }

  .admin-login-social-links .fs-5 {
    font-size: 1rem !important;
  }

  .header-absolute .navbar .container-fluid,
  .dashboard-header-actions,
  .admin-user-nav {
    gap: .6rem !important;
  }

  .page-title-row .dashboard-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-title-row .dashboard-header-actions .btn {
    justify-content: center;
    width: 100%;
  }

  .admin-user-chip {
    max-width: 100%;
  }

  .admin-user-chip span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .shortcuts-grid {
    grid-template-columns: 1fr;
  }

  .shortcut-search {
    grid-column: auto;
  }

  .custom-table thead th,
  .custom-table tbody td {
    font-size: .78rem;
  }

  .status-tag {
    font-size: .68rem;
  }

  .count-number {
    font-size: 1.75rem;
  }

  .dashboard-client-title {
    font-size: 1.55rem;
  }

  .pagination-primary-soft {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .obras-pagination .pagination-primary-soft {
    justify-content: flex-end;
  }

  .obras-pagination .pagination-primary-soft .page-ellipsis,
  .obras-pagination .pagination-primary-soft .page-number:not(.mobile-page-near) {
    display: none;
  }

  .obras-pagination .pagination-primary-soft .page-link {
    white-space: nowrap;
    word-break: normal;
    min-width: auto;
    padding-left: .8rem;
    padding-right: .8rem;
  }

  .user-modal-dialog {
    margin-left: .75rem;
    margin-right: .75rem;
  }

  .user-modal-content .modal-header,
  .user-modal-content .modal-body,
  .user-modal-content .modal-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .user-modal-content .modal-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .user-modal-content .modal-footer .btn {
    width: 100%;
  }
}
