/* --- Utilitários ----------------------------------------- */
.full {
  width: 100% !important;
}

.small
  {
    size: 0.75rem;
  }
.supersmall
  {
    size: 0.65rem;
  }

.link {
  color: var(--find-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.link:hover {
  color: var(--find-dark);
  text-decoration: underline;
}
/* ============================================================
   FIND – Estilos globais
   /public/assets/css/style.css
   ============================================================ */

/* --- Variáveis -------------------------------------------- */
:root {
  --find-primary: #0d6efd;
  --find-dark: #0f172a;
  --find-soft: #eef4ff;
}

/* --- Base ------------------------------------------------- */
body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: #1f2937;
}

/* --- Hero ------------------------------------------------- */
.hero-section {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.08),
    rgba(25, 135, 84, 0.08)
  );
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1.5rem;
}

.hero-logo {
  max-width: 220px;
  width: 100%;
  object-fit: contain;
}

/* --- Logo cards (parceiros) ------------------------------- */
.logo-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.logo-card img {
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
}

/* --- Cards genéricos -------------------------------------- */
.feature-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

/* --- Navbar ----------------------------------------------- */
.nav-user-pill {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding-inline: 0.85rem !important;
}

/* --- Auth ------------------------------------------------- */
.auth-card {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* --- Formulários (inputs globais) ------------------------- */
.form-control,
.form-select {
  border: 1px solid #000;
  background-color: #f8f8f8;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}
.form-control:focus,
.form-select:focus {
  background-color: #ffffff;
  border-color: #000;
  box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.15);
}

/* --- Biblioteca – vitrine de capas ------------------------ */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.cover-img {
  max-height: 200px;
  object-fit: contain;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.cover-img:hover {
  transform: scale(1.05);
}

/* --- Item – capa individual ------------------------------- */
.item-cover {
  max-height: 380px;
  object-fit: contain;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.item-cover:hover {
  transform: scale(1.05);
}

/* --- Admin / Library – field cards ------------------------ */
.field-card {
  transition: box-shadow 0.2s;
}
.field-card:hover {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.field-readonly {
  background-color: #f8f9fa;
  border: 1px dashed #dee2e6;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  color: #495057;
  font-family: monospace;
  font-size: 0.9rem;
}

#saveStatus {
  transition: opacity 0.3s;
}

/* --- Widget: version -------------------------------------- */
.version-container {
  position: absolute;
  top: 4px;
  right: 4px;
  color: white;
  padding: 0px;
  font-size: 6px;
  z-index: 1000;
}

/* --- Widget: painel01 ------------------------------------- */
.painel01 {
  background-color: #000000;
  color: #0000ff;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  border: 1px solid #0000ff;
  font-size: 12px;
  font-family: "Offside", serif;
  font-weight: 400;
  font-style: normal;
  width: 100%;
}

/* --- Widget: logo FIND ------------------------------------ */
.ojuju {
  font-family: "Ojuju", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

/* --- Code: login / FRBR ----------------------------------- */
.login-container {
  max-width: 400px;
  margin: auto;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-top: 100px;
}

.work {
  border-left: 6px solid rgb(6, 35, 66);
}

.expression {
  border-left: 6px solid rgb(129, 109, 9);
}

.manifestation {
  border-left: 6px solid rgb(5, 94, 66);
}

/* Dark mode para offcanvas Bootstrap */
body.dark-mode .offcanvas {
  background-color: #23272b !important;
  color: #f1f1f1 !important;
  border-left: 1px solid #333a40;
}

body.dark-mode .offcanvas-header {
  background-color: #23272b !important;
  color: #f1f1f1 !important;
  border-bottom: 1px solid #333a40;
}

body.dark-mode .offcanvas-title {
  color: #f1f1f1 !important;
}

body.dark-mode .offcanvas-body {
  background-color: #23272b !important;
  color: #f1f1f1 !important;
}

body.dark-mode .btn-close {
  filter: invert(1) grayscale(1);
}

body.dark-mode .form-label {
  color: #f1f1f1 !important;
}

/* Dark mode para tabelas Bootstrap */
body.dark-mode table.table {
  background-color: #23272b;
  color: #f1f1f1;
}

body.dark-mode table.table th,
body.dark-mode table.table td {
  background-color: #23272b;
  color: #f1f1f1;
  border-color: #333a40;
}

body.dark-mode .table-light th,
body.dark-mode .table-light td,
body.dark-mode .table-light {
  background-color: #181a1b !important;
  color: #f1f1f1 !important;
  border-color: #333a40 !important;
}

body.dark-mode .table-secondary {
  background-color: #343a40 !important;
  color: #f1f1f1 !important;
}

body.dark-mode .table-bordered {
  border-color: #333a40 !important;
}

body.dark-mode pre {
  background: #181a1b;
  color: #f1f1f1;
  border: 1px solid #333a40;
}

:root {
  --find-primary: #0d6efd;
  --find-dark: #0f172a;
  --find-soft: #eef4ff;
  --find-bg-dark: #181a1b;
  --find-bg-dark-2: #23272b;
  --find-text-dark: #f1f1f1;
  --find-border-dark: #333a40;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: #1f2937;
  transition:
    background 0.3s,
    color 0.3s;
}

body.dark-mode {
  background: var(--find-bg-dark) !important;
  color: var(--find-text-dark) !important;
}

body.dark-mode .navbar,
body.dark-mode .dropdown-menu {
  background-color: var(--find-bg-dark-2) !important;
  color: var(--find-text-dark) !important;
}

body.dark-mode .navbar .nav-link,
body.dark-mode .dropdown-item {
  color: var(--find-text-dark) !important;
}

body.dark-mode .navbar-brand img,
body.dark-mode .logo-card img {
  filter: brightness(0.85) contrast(1.2);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
  background-color: var(--find-bg-dark-2) !important;
  color: var(--find-text-dark) !important;
  border-color: var(--find-border-dark) !important;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
  background-color: #23272b !important;
  color: var(--find-text-dark) !important;
}

body.dark-mode .btn-outline-light {
  color: #fff;
  border-color: #888;
}

body.dark-mode .btn-outline-light:hover {
  background: #333a40;
  color: #fff;
}

body.dark-mode .bg-white,
body.dark-mode .border-top {
  background: var(--find-bg-dark-2) !important;
  border-color: var(--find-border-dark) !important;
}

body.dark-mode .text-muted {
  color: #b0b0b0 !important;
}

/* Dark mode para cards Bootstrap */
body.dark-mode .card,
body.dark-mode .card-header,
body.dark-mode .card-body {
  background-color: #23272b !important;
  color: #f1f1f1 !important;
  border-color: #333a40 !important;
}

body.dark-mode .card-header {
  border-bottom: 1px solid #333a40 !important;
}

body.dark-mode .card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

body.dark-mode .btn-outline-primary {
  color: #90caf9 !important;
  border-color: #90caf9 !important;
}

body.dark-mode .btn-outline-primary:hover {
  background: #1565c0 !important;
  color: #fff !important;
  border-color: #1565c0 !important;
}

.hero-section {
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.08),
    rgba(25, 135, 84, 0.08)
  );
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1.5rem;
}

.hero-logo {
  max-width: 220px;
  width: 100%;
  object-fit: contain;
}

.logo-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.logo-card img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.feature-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.nav-user-pill {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding-inline: 0.85rem !important;
}

.auth-card {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.form-control,
.form-select {
  border: 1px solid #000;
  background-color: #f8f8f8;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.form-control:focus,
.form-select:focus {
  background-color: #ffffff;
  border-color: #000;
  box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.15);
}
