/* src/styles.css */
:root {
  --bg-main: #0b0b0f;
  --bg-secondary: #11131a;
  --bg-panel: rgba(19, 22, 31, 0.88);
  --bg-panel-strong: rgba(11, 14, 22, 0.94);
  --gold-1: #d4af37;
  --gold-2: #b8860b;
  --gold-3: #f4d98a;
  --bronze: #8f6b2e;
  --text-main: #f5f1e6;
  --text-soft: #c9c0ae;
  --text-muted: #9f9788;
  --border-gold: rgba(212, 175, 55, 0.22);
  --border-soft: rgba(255, 255, 255, 0.08);
  --success: #2f855a;
  --danger: #b83232;
  --info: #2b6cb0;
  --shadow-main: 0 18px 42px rgba(0, 0, 0, 0.42);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(
      circle at top left,
      rgba(212, 175, 55, 0.08),
      transparent 22%),
    radial-gradient(
      circle at bottom right,
      rgba(184, 134, 11, 0.06),
      transparent 20%),
    linear-gradient(
      180deg,
      #08090d 0%,
      #0d1017 45%,
      #090a0f 100%);
  color: var(--text-main);
  font-family:
    "Segoe UI",
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(
      45deg,
      transparent 48%,
      rgba(212, 175, 55, 0.15) 49%,
      transparent 51%),
    linear-gradient(
      -45deg,
      transparent 48%,
      rgba(212, 175, 55, 0.12) 49%,
      transparent 51%);
  background-size: 140px 140px;
  z-index: 0;
}
app-root,
app-shell,
app-dashboard,
app-users,
app-admin-users,
app-library-home,
app-library-admin,
app-library-reader {
  position: relative;
  z-index: 1;
}
a {
  color: var(--gold-3);
}
.container-fluid,
.container {
  position: relative;
  z-index: 1;
}
.glass-card,
.panel,
.reader-controls,
.pdf-fullscreen-wrapper {
  background:
    linear-gradient(
      180deg,
      rgba(24, 27, 37, 0.96) 0%,
      rgba(14, 17, 24, 0.96) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-main);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.section-title,
h1,
h2,
h3,
h4,
h5 {
  color: var(--text-main);
  letter-spacing: 0.4px;
}
.section-title {
  font-weight: 700;
}
.text-muted-custom,
.page-header p,
.book-meta p,
.empty-state,
.reader-header p {
  color: var(--text-muted) !important;
}
.page-badge,
.badge-role,
.book-category,
.cover-progress-badge,
.format-badge {
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-3);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.badge-role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
}
.role-admin {
  background: rgba(212, 175, 55, 0.16);
  color: #f7df99;
}
.role-moderador {
  background: rgba(143, 107, 46, 0.22);
  color: #e9cf86;
}
.role-usuario {
  background: rgba(255, 255, 255, 0.06);
  color: #ddd4c2;
}
.form-control,
.form-select,
input[type=text],
input[type=email],
input[type=password],
input[type=number],
textarea,
select {
  width: 100%;
  background: rgba(10, 12, 18, 0.95) !important;
  color: var(--text-main) !important;
  border: 1px solid rgba(212, 175, 55, 0.16) !important;
  border-radius: var(--radius-md) !important;
  padding: 12px 14px;
  box-sizing: border-box;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}
.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12) !important;
}
label,
.form-label {
  color: var(--text-soft);
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}
.btn,
button {
  border-radius: 14px !important;
  font-weight: 700 !important;
  transition:
    transform 0.16s ease,
    filter 0.16s ease,
    opacity 0.16s ease;
}
.btn:hover,
button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.btn-primary,
.read-button,
.nav-btn.primary,
.controls-row button,
.btn.btn-primary {
  background:
    linear-gradient(
      135deg,
      #8f6b2e 0%,
      #d4af37 52%,
      #b8860b 100%) !important;
  border: 1px solid rgba(255, 224, 130, 0.2) !important;
  color: #111 !important;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.18);
}
.btn-outline-light,
.btn-secondary,
.nav-btn.secondary,
.btn.btn-outline-light {
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--text-main) !important;
  border: 1px solid rgba(212, 175, 55, 0.14) !important;
}
.btn-success,
.btn.btn-success {
  background:
    linear-gradient(
      135deg,
      #2f855a,
      #48bb78) !important;
  color: white !important;
  border: none !important;
}
.btn-outline-danger,
.btn-danger,
.btn.btn-outline-danger {
  background: rgba(184, 50, 50, 0.12) !important;
  color: #ffb5b5 !important;
  border: 1px solid rgba(184, 50, 50, 0.28) !important;
}
.table-responsive {
  border-radius: 18px;
  overflow: hidden;
}
.table,
.table-dark-custom {
  width: 100%;
  border-collapse: collapse;
  color: var(--text-main);
  background: rgba(12, 14, 20, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.1);
}
.table thead th,
.table-dark-custom thead th {
  background:
    linear-gradient(
      180deg,
      rgba(212, 175, 55, 0.12),
      rgba(212, 175, 55, 0.06));
  color: var(--gold-3);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.6px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
  padding: 14px 12px;
}
.table tbody td,
.table-dark-custom tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}
.table tbody tr:hover,
.table-dark-custom tbody tr:hover {
  background: rgba(212, 175, 55, 0.04);
}
.alert {
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.alert-success {
  background: rgba(47, 133, 90, 0.16) !important;
  color: #c6f6d5 !important;
  border-color: rgba(72, 187, 120, 0.22) !important;
}
.alert-danger,
.alert.error {
  background: rgba(184, 50, 50, 0.14) !important;
  color: #ffd1d1 !important;
  border-color: rgba(184, 50, 50, 0.22) !important;
}
.alert.success {
  background: rgba(47, 133, 90, 0.16) !important;
  color: #d8ffe7 !important;
  border-color: rgba(72, 187, 120, 0.22) !important;
}
.book-card {
  background:
    linear-gradient(
      180deg,
      rgba(19, 22, 31, 0.96) 0%,
      rgba(10, 12, 18, 0.96) 100%);
  border: 1px solid rgba(212, 175, 55, 0.12);
}
.placeholder-cover {
  min-height: 160px;
  background:
    radial-gradient(
      circle at top right,
      rgba(212, 175, 55, 0.12),
      transparent 25%),
    linear-gradient(
      135deg,
      #17130a 0%,
      #0d1017 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.placeholder-cover h3,
.placeholder-cover p,
.book-info,
.book-info h3,
.book-info p {
  color: var(--text-main);
}
.progress-bar {
  background: rgba(255, 255, 255, 0.08);
}
.progress-fill {
  background:
    linear-gradient(
      90deg,
      #8f6b2e 0%,
      #d4af37 50%,
      #f4d98a 100%);
}
.login-page,
.auth-page,
.page-login,
.page-auth {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top center,
      rgba(212, 175, 55, 0.08),
      transparent 24%),
    linear-gradient(
      180deg,
      #08090d,
      #0e1018 55%,
      #090a0f);
}
.auth-card,
.login-card,
.card-login {
  background:
    linear-gradient(
      180deg,
      rgba(19, 22, 31, 0.96) 0%,
      rgba(10, 12, 18, 0.96) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  box-shadow: var(--shadow-main);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0d1017;
}
::-webkit-scrollbar-thumb {
  background:
    linear-gradient(
      180deg,
      #8f6b2e,
      #d4af37);
  border-radius: 999px;
}
@media (max-width: 768px) {
  .glass-card,
  .panel {
    border-radius: 18px;
  }
  .section-title,
  h1 {
    line-height: 1.2;
  }
}
.masonic-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
}
.masonic-shell.sidebar-collapsed {
  grid-template-columns: 96px 1fr;
}
.masonic-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  background:
    linear-gradient(
      180deg,
      rgba(18, 16, 11, 0.98) 0%,
      rgba(10, 11, 16, 0.98) 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.16);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 20px 0 40px rgba(0, 0, 0, 0.22);
}
.sidebar-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05070d;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.2);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text h2 {
  margin: 0;
  font-size: 20px;
  color: var(--gold-3);
}
.brand-text p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 12px;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.1);
}
.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      135deg,
      #8f6b2e,
      #d4af37);
  color: #111;
  font-weight: 800;
  font-size: 18px;
}
.user-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.user-meta strong {
  color: var(--text-main);
  font-size: 14px;
}
.user-meta span {
  color: var(--gold-3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--text-soft);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.nav-link:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.12);
  color: var(--text-main);
}
.nav-link.active-link {
  background:
    linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.14),
      rgba(143, 107, 46, 0.08));
  border-color: rgba(212, 175, 55, 0.18);
  color: var(--gold-3);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.06);
}
.nav-icon {
  width: 22px;
  text-align: center;
  font-size: 16px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-logout {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(184, 50, 50, 0.22);
  background: rgba(184, 50, 50, 0.1);
  color: #ffd2d2;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}
.masonic-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.masonic-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: rgba(11, 13, 19, 0.82);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-3);
  cursor: pointer;
  font-size: 18px;
}
.topbar-title h1 {
  margin: 0;
  font-size: 24px;
  color: var(--text-main);
}
.topbar-title p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}
.topbar-user-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.topbar-user-name {
  color: var(--text-main);
  font-weight: 700;
}
.topbar-user-card small {
  color: var(--text-muted);
}
.masonic-content {
  padding: 22px;
}
.sidebar-collapsed .brand-text,
.sidebar-collapsed .user-meta,
.sidebar-collapsed .nav-link span:not(.nav-icon),
.sidebar-collapsed .sidebar-logout,
.sidebar-collapsed .topbar-title p {
  display: none;
}
.sidebar-collapsed .masonic-sidebar {
  padding-left: 10px;
  padding-right: 10px;
}
.sidebar-collapsed .nav-link {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 980px) {
  .masonic-shell,
  .masonic-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }
  .masonic-sidebar {
    position: relative;
    height: auto;
  }
  .masonic-topbar {
    padding: 16px;
  }
  .masonic-content {
    padding: 16px;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
