:root {
  --soft-blue: #2d6cdf;
  --soft-blue-dark: #1f57be;
  --soft-bg: #f4f7ff;
  --soft-line: #e5ebff;
  --ink-strong: #1a2f57;
  --ink-body: #38527e;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  background: radial-gradient(circle at 20% 10%, #eef4ff 0%, #f8fbff 35%, #f3f6ff 100%);
}

.main-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content > .container-fluid.py-3 {
  flex: 1 0 auto;
}

.soft-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%) !important;
  box-shadow: 0 18px 36px rgba(45, 108, 223, 0.14);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.bg-gradient-soft {
  background: linear-gradient(135deg, var(--soft-blue) 0%, #5a8ff3 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--soft-blue), #86aaf9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-vertical .navbar-nav .nav-link.active {
  background: #edf3ff;
  color: #0b2559;
  border-radius: 0.75rem;
}

.public-navbar {
  margin-top: 0.1rem;
}

.public-navbar .container-fluid {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.35rem 0.2rem !important;
  backdrop-filter: none;
  justify-content: center;
}

.brand-logo {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.brand-wordmark {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.sidebar-brand-mark {
  min-height: 2.5rem;
}

.sidebar-brand-icon {
  width: 1.95rem;
  height: 1.95rem;
  object-fit: contain;
}

.sidebar-brand-text {
  font-family: "Orbitron", "Open Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #2c63cb;
  line-height: 1;
}

.brand-wordmark-top {
  height: 2.35rem;
  width: auto;
}

.soft-sidebar .sidenav-header {
  padding: 0.95rem 0.8rem 0.75rem;
  display: flex;
  justify-content: center;
}

.soft-sidebar .sidenav-header .navbar-brand {
  min-height: 2.4rem;
  width: auto;
  margin: 0 auto !important;
}

.soft-sidebar .horizontal.dark {
  margin-top: 0.35rem !important;
}

.public-nav-spacer {
  display: block;
  width: 1px;
  height: 1.8rem;
}

.navbar-vertical .navbar-nav .nav-link .nav-link-text {
  font-size: 1rem;
  font-weight: 600;
}

.panel,
.auth-panel,
.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 30px rgba(45, 108, 223, 0.08);
  border: 1px solid var(--soft-line);
  padding: 1.35rem;
  margin-bottom: 1rem;
}

.page-head {
  border-left: 5px solid var(--soft-blue);
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

h1 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-strong);
}

h4 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.idea-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.idea-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 38px rgba(45, 108, 223, 0.15);
}

.idea-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.stack {
  display: grid;
  gap: 0.75rem;
}

.row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.table-search {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 1rem 0 1.1rem;
}

.table-search .search-shell,
.table-search .filter-select,
.table-search .btn {
  height: 2.6rem;
  min-height: 2.6rem;
  box-sizing: border-box;
}

.sidebar-toggle-btn {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0.7rem;
}

.search-grow {
  flex: 1 1 320px;
}

.card-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.table-title {
  margin-bottom: 0;
}

.ideas-list-toolbar {
  margin-bottom: 0.7rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #dfe9ff;
  border-radius: 1rem;
  box-shadow: 0 14px 24px rgba(31, 87, 190, 0.08);
  padding: 1rem 1.1rem;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.stat-meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.stat-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--soft-blue) 0%, #5f94ff 100%);
}

.stat-label {
  margin: 0;
  color: #59719d;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  line-height: 1.2;
}

.stat-value {
  margin: 0;
  color: #173566;
  font-size: clamp(2.35rem, 4.2vw, 3.3rem);
  line-height: 1;
  font-weight: 800;
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.stat-total {
  background: #eef4ff;
  border-color: #cfe0ff;
}

.stat-open {
  background: #edf9f3;
  border-color: #c9eed9;
}

.stat-picked {
  background: #fff8eb;
  border-color: #ffe3b0;
}

.stat-prototype {
  background: #f3efff;
  border-color: #d9ccff;
}

.stat-production {
  background: #ecf7ff;
  border-color: #c8e8ff;
}

.stat-ip-registered {
  background: #ecfbf3;
  border-color: #beefdb;
}

.stat-ip-not-registered {
  background: #fff0f3;
  border-color: #ffcddd;
}

.stat-users {
  background: #eef3ff;
  border-color: #cedcff;
}

.stat-total .stat-icon {
  background: linear-gradient(135deg, #2f6dde 0%, #5b97ff 100%);
}

.stat-open .stat-icon {
  background: linear-gradient(135deg, #19a35b 0%, #49c87f 100%);
}

.stat-picked .stat-icon {
  background: linear-gradient(135deg, #d98a00 0%, #f2b238 100%);
}

.stat-prototype .stat-icon {
  background: linear-gradient(135deg, #7751d9 0%, #9b73f5 100%);
}

.stat-production .stat-icon {
  background: linear-gradient(135deg, #0f8db8 0%, #32b4de 100%);
}

.stat-ip-registered .stat-icon {
  background: linear-gradient(135deg, #0f9f61 0%, #35c97f 100%);
}

.stat-ip-not-registered .stat-icon {
  background: linear-gradient(135deg, #cb2d5a 0%, #e95a87 100%);
}

.stat-users .stat-icon {
  background: linear-gradient(135deg, #3d56d7 0%, #6f84f4 100%);
}

.stat-open .stat-value,
.stat-ip-registered .stat-value {
  color: #0f7444;
}

.stat-picked .stat-value {
  color: #996100;
}

.stat-prototype .stat-value {
  color: #5b3cb8;
}

.stat-production .stat-value {
  color: #0d6f94;
}

.stat-ip-not-registered .stat-value {
  color: #b1264d;
}

.stat-users .stat-value {
  color: #2b44bb;
}

@media (max-width: 680px) {
  .stat-card {
    min-height: 120px;
    padding: 0.9rem 1rem;
  }

  .stat-value {
    font-size: 2.2rem;
  }
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.2rem;
}

label {
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  color: #344767;
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
input[type="file"],
textarea,
select,
.share-input {
  width: 100%;
  border: 1px solid #d2d9f0;
  border-radius: 0.6rem;
  padding: 0.62rem 0.78rem;
  font-size: 1rem;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #8cb2ff;
  box-shadow: 0 0 0 0.2rem rgba(45, 108, 223, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid #eef2ff;
  vertical-align: middle;
}

th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: #6a7ea8;
  font-weight: 800;
}

.alert {
  border: 1px solid #ffc7cf;
  background: #ffe8ec;
  color: #842029;
  border-radius: 0.75rem;
  padding: 0.65rem 0.8rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.badge.active {
  background: #d8f8e9;
  color: #0e7a42;
}

.badge.expired {
  background: #ffe1e6;
  color: #9a1f3a;
}

.badge.state {
  background: #e3edff;
  color: #2356b4;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0 0.45rem;
}

.key-inline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #f5f8ff;
  border: 1px solid #dfe8ff;
  border-radius: 0.65rem;
  padding: 0.4rem 0.6rem;
  justify-content: space-between;
}

.key-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 0.92rem;
  color: #21345d;
  overflow-wrap: anywhere;
}

.copy-btn {
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  background: #e7efff;
  color: #2356b4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.copy-btn:hover {
  background: #d6e4ff;
}

.rich-content img {
  max-width: 100%;
  border-radius: 0.75rem;
}

.editor {
  min-height: 260px;
  border-radius: 0.5rem;
  background: #fff;
}

.wysiwyg-wrap .ql-toolbar.ql-snow {
  border: 1px solid #d2d9f0;
  border-radius: 0.6rem 0.6rem 0 0;
  background: #f8fbff;
}

.wysiwyg-wrap .ql-container.ql-snow {
  border: 1px solid #d2d9f0;
  border-top: 0;
  border-radius: 0 0 0.6rem 0.6rem;
  min-height: 180px;
  background: #ffffff;
}

.wysiwyg-wrap .ql-editor {
  min-height: 180px;
  font-size: 1rem;
  color: #1f315b;
}

.auth-panel {
  max-width: 500px;
  margin: 2.5rem auto;
}

.muted {
  color: var(--ink-body);
  font-size: 1rem;
}

.ellipsis-cell {
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #dfe9ff;
  box-shadow: 0 15px 28px rgba(31, 87, 190, 0.09);
  padding: 1.3rem;
  margin-bottom: 1rem;
}

.clean-table {
  border: 1px solid #e2ebff;
  border-radius: 0.9rem;
  overflow: hidden;
}

.ideas-table tbody tr:hover {
  background: #f8fbff;
}

.ideas-table-wrap table {
  table-layout: fixed;
}

.ideas-table th:nth-child(1) {
  width: 34%;
}

.ideas-table th:nth-child(2) {
  width: 11%;
}

.ideas-table th:nth-child(3) {
  width: 15%;
}

.ideas-table th:nth-child(4) {
  width: 16%;
}

.ideas-table th:nth-child(5) {
  width: 24%;
}

.ideas-table th:nth-child(n+2),
.ideas-table td:nth-child(n+2) {
  text-align: left;
}

.idea-title {
  color: #16315d;
  font-size: 1.03rem;
}

.table-desc {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #4c638c;
}

.updated-at {
  font-size: 0.94rem;
  color: #506a96;
  white-space: nowrap;
}

.actions-cell {
  white-space: nowrap;
}

.action-buttons {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.action-btn {
  font-size: 0.86rem !important;
  padding: 0.4rem 0.6rem !important;
  line-height: 1.1;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
}

.action-btn i {
  font-size: 0.84rem;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.icon-action-btn {
  width: 2.75rem;
  height: 2.2rem;
  min-width: 2.75rem;
  padding: 0.35rem !important;
  justify-content: center;
  border-radius: 0.7rem;
}

.icon-action-btn i.bi {
  font-size: 1.7rem !important;
  font-weight: 700;
  line-height: 1;
  margin-right: 0 !important;
}

.icon-action-btn i.bi::before {
  font-size: 1.7rem !important;
  line-height: 1 !important;
}

@media (max-width: 1560px) {
  .action-btn {
    width: 2.75rem;
    height: 2.2rem;
    min-width: 2.75rem;
    padding: 0.35rem !important;
    justify-content: center;
    border-radius: 0.7rem;
  }

  .action-btn .action-label {
    display: none;
  }

  .action-btn i.bi {
    font-size: 1.7rem !important;
    font-weight: 700;
    line-height: 1;
    margin-right: 0 !important;
  }

  .action-btn i.bi::before {
    font-size: 1.7rem !important;
    line-height: 1 !important;
  }
}

.pagination-soft {
  padding-top: 0.2rem;
}

.search-shell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #c6d7ff;
  border-radius: 0.72rem;
  background: #fff;
  padding: 0 0.78rem;
  flex: 1 1 420px;
  overflow: hidden;
}

.search-shell i {
  color: #5b78aa;
}

.search-shell input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 100%;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.search-shell input:focus {
  border: 0;
  box-shadow: none;
}

.filter-select {
  flex: 0 1 200px;
  border-radius: 0.72rem;
  border: 1px solid #c6d7ff;
  background: #fff;
  padding: 0 0.75rem;
  color: #35507f;
  font-size: 0.95rem;
}

.table-search .btn {
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.key-window-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.key-window-form > .stack {
  flex: 0 1 270px;
}

.key-window-form > .btn {
  height: 2.6rem;
  min-height: 2.6rem;
  align-self: flex-end;
  padding: 0 1rem;
  margin-bottom: 0.02rem;
}

.key-header-wrap {
  align-items: center;
}

.key-header-main {
  flex: 1 1 auto;
}

.keys-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.keys-table th:nth-child(1) {
  width: 48%;
}

.keys-table th:nth-child(2) {
  width: 14%;
}

.keys-table th:nth-child(3) {
  width: 15%;
}

.keys-table th:nth-child(4) {
  width: 13%;
}

.keys-table th:nth-child(5) {
  width: 10%;
}

.key-text-nowrap {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.keys-actions-cell {
  text-align: left;
}

.datetime-stack {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
}

.datetime-stack .date {
  font-weight: 600;
  color: #2c4573;
}

.datetime-stack .time {
  color: #5b7198;
  font-size: 0.96rem;
}

.landing-hero {
  background: linear-gradient(120deg, #1e58c7 0%, #4385f0 50%, #64a6ff 100%);
  border-radius: 1.2rem;
  padding: 1.6rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  box-shadow: 0 22px 36px rgba(20, 73, 173, 0.25);
}

.landing-hero-content h1 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.55rem;
}

.landing-kicker {
  color: #dbe9ff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.landing-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0.55rem;
}

.landing-main-logo {
  width: min(340px, 72vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(12, 45, 112, 0.35));
}

.auth-logo-wrap {
  text-align: center;
  margin-bottom: 0.6rem;
}

.auth-main-logo {
  width: min(330px, 84%);
  height: auto;
  object-fit: contain;
}

.landing-subtitle {
  color: #edf4ff;
  font-size: 1.03rem;
  margin-bottom: 1rem;
  max-width: 55ch;
}

.landing-search {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.landing-search .search-shell {
  border-color: #9abbff;
  background: rgba(255, 255, 255, 0.96);
  height: 3.35rem;
  min-height: 3.35rem;
  box-sizing: border-box;
}

.landing-search .btn.landing-search-btn {
  height: 3.35rem;
  min-height: 3.35rem;
  padding: 0 1.35rem;
  border-radius: 0.88rem;
  border: 1px solid #ffb703;
  background: #ffb703 !important;
  color: #18386d !important;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(13, 42, 94, 0.35);
}

.landing-search .btn.landing-search-btn:hover {
  background: #ffc224 !important;
  color: #132f5f !important;
  border-color: #ffc224;
}

.landing-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-hero-art img {
  width: 100%;
  max-width: 400px;
}

.public-watermark-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.16;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 150px;
  align-items: center;
  justify-items: center;
  padding: 2rem;
}

.public-watermark-item {
  color: #163b77;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.8px;
  white-space: nowrap;
  transform: rotate(-26deg);
  user-select: none;
}

.public-guard-active .container-fluid,
.public-guard-active .panel,
.public-guard-active .table-card,
.public-guard-active .rich-content {
  user-select: none;
  -webkit-user-select: none;
}

.public-guard-active img,
.public-guard-active a {
  -webkit-user-drag: none;
}

.public-guard-active input,
.public-guard-active textarea,
.public-guard-active select,
.public-guard-active [contenteditable="true"] {
  user-select: text;
  -webkit-user-select: text;
}

.solid-content-panel {
  position: relative;
  z-index: 30;
  background: #ffffff;
}

.public-detail-hero {
  display: grid;
  grid-template-columns: 1.4fr minmax(220px, 0.6fr);
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid #d6e4ff;
  box-shadow: 0 20px 30px rgba(23, 67, 153, 0.1);
}

.public-detail-hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 137, 243, 0.17), rgba(82, 137, 243, 0));
  pointer-events: none;
}

.public-detail-kicker {
  font-size: 0.88rem;
  font-weight: 700;
  color: #3e67a7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

.public-detail-main h1 {
  margin-bottom: 0.45rem;
}

.public-detail-note {
  margin-top: 0.55rem;
  margin-bottom: 0;
  color: #46679b;
  font-size: 1.02rem;
}

.public-detail-actions {
  display: grid;
  gap: 0.7rem;
  align-content: center;
}

.public-back-btn {
  border: 1px solid #2b63cc;
  background: #2f6dde;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(30, 83, 181, 0.25);
}

.public-back-btn:hover {
  background: #2459c0;
  border-color: #2459c0;
  color: #ffffff;
}

.public-description-panel {
  border-left: 5px solid #3f7ef1;
}

.section-title-row h3 {
  margin-bottom: 0.8rem;
  color: #1c325f;
}

.public-rich-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid #e2ebff;
  border-radius: 0.9rem;
  padding: 1rem;
  min-height: 140px;
}

.idea-detail-hero {
  display: grid;
  grid-template-columns: 1.4fr minmax(220px, 0.6fr);
  gap: 1rem;
  align-items: center;
}

.idea-detail-kicker {
  font-size: 0.86rem;
  font-weight: 700;
  color: #4a6ca8;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 0.35rem;
}

.idea-detail-main h1 {
  margin-bottom: 0.35rem;
}

.idea-detail-actions {
  display: grid;
  gap: 0.65rem;
}

.detail-rich-card {
  border: 1px solid #e3ebff;
  border-radius: 0.88rem;
  padding: 1rem;
  background: #fcfdff;
  min-height: 150px;
}

.document-action-card {
  padding: 0.2rem 0;
}

.share-key-form {
  display: flex;
  gap: 0.75rem;
  align-items: end;
  flex-wrap: wrap;
}

.share-key-field {
  flex: 0 1 220px;
}

.pagination-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  font-size: 1rem;
  padding: 0.64rem 1rem;
  font-weight: 600;
}

.btn.bg-gradient-primary {
  background: linear-gradient(135deg, var(--soft-blue) 0%, #5f94ff 100%) !important;
  font-size: 1rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
}

.btn.btn-outline-primary {
  color: var(--soft-blue);
  border-color: #a4c0ff;
  font-size: 1rem;
  padding: 0.62rem 0.95rem;
  font-weight: 600;
}

.btn.btn-outline-primary:hover {
  color: #fff;
  background: var(--soft-blue);
  border-color: var(--soft-blue);
}

.btn.btn-outline-danger {
  color: #b4234f;
  border-color: #f2adc1;
  font-size: 1rem;
  padding: 0.62rem 0.95rem;
  font-weight: 600;
}

.btn.btn-outline-danger:hover {
  color: #fff;
  background: #b4234f;
  border-color: #b4234f;
}

.site-footer {
  margin: 0.2rem 1.5rem 1rem;
  padding: 0.2rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  color: #42608f;
  font-size: 0.9rem;
}

.footer-inner a {
  color: #2d6cdf;
  font-weight: 700;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

.footer-love-icon {
  color: #e94266;
  margin: 0 0.2rem;
}

.landing-login-btn {
  border: 1px solid #2c68d5;
  background: #2f6dde;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(25, 61, 128, 0.24);
  position: relative;
  z-index: 40;
}

.landing-login-btn:hover {
  background: #2459c0;
  border-color: #2459c0;
  color: #ffffff !important;
}

@media (min-width: 1200px) {
  body.sidebar-collapsed #sidenav-main {
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
  }

  body.sidebar-collapsed .main-content {
    margin-left: 0 !important;
  }
}

@media (max-width: 991px) {
  .hero-header,
  .toolbar,
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  h1 {
    font-size: 1.7rem;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .landing-hero-content h1 {
    font-size: 1.82rem;
  }

  .table-desc {
    max-width: 280px;
  }

  .public-detail-hero {
    grid-template-columns: 1fr;
  }

  .idea-detail-hero {
    grid-template-columns: 1fr;
  }

  .sidebar-toggle-btn {
    order: -1;
    margin-bottom: 0.4rem;
  }

  .footer-inner {
    align-items: center;
  }
}
