/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 128px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/* Align profile and theme buttons to top right (override Sneat .navbar-nav-right flex-basis: 100%) */
.layout-navbar .navbar-nav-right {
  display: flex;
  flex-basis: 100%;
  justify-content: flex-end;
  align-items: center;
}

/* Club/organisation name in navbar: slightly larger, no wrap */
.org-name-nav {
  white-space: nowrap;
  font-size: 1.1rem;
}

/* Content area: dot pattern and subtle shading behind cards */
.content-wrapper {
  position: relative;
  min-height: 100%;
}
.content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(105, 108, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.content-wrapper .container-p-y {
  position: relative;
  z-index: 1;
}
.light-style .content-wrapper::before {
  background-image: radial-gradient(circle, rgba(105, 108, 255, 0.12) 1px, transparent 1px);
}
.dark-style .content-wrapper::before {
  background-image: radial-gradient(circle, rgba(105, 108, 255, 0.18) 1px, transparent 1px);
}
/* Subtle shaded shapes behind content (soft rounded blurs) */
.content-wrapper::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.06) 0%, transparent 50%);
  top: -80px;
  right: -80px;
  pointer-events: none;
  z-index: 0;
}
.dark-style .content-wrapper::after {
  background: linear-gradient(135deg, rgba(105, 108, 255, 0.08) 0%, transparent 50%);
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/*
* Dark theme overrides (Sneat free has minimal .dark-style rules)
******************************************************************************/
.dark-style {
  --bs-body-color: #a1acb8;
  --bs-body-bg: #232333;
  --bs-body-color-rgb: 161, 172, 184;
  --bs-body-bg-rgb: 35, 35, 51;
}
.dark-style body {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}
.dark-style .bg-navbar-theme,
.dark-style .layout-navbar {
  background-color: rgba(35, 35, 51, 0.95) !important;
  color: #a1acb8;
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-style .bg-navbar-theme .navbar-brand,
.dark-style .bg-navbar-theme .navbar-brand a,
.dark-style .bg-navbar-theme .navbar-nav > .nav-link,
.dark-style .bg-navbar-theme .navbar-nav > .nav-item > .nav-link {
  color: #a1acb8 !important;
}
.dark-style .bg-navbar-theme .navbar-nav > .nav-link:hover,
.dark-style .bg-navbar-theme .navbar-nav > .nav-link:focus {
  color: #cfd3d8 !important;
}
.dark-style .bg-menu-theme {
  background-color: #2f2f42 !important;
  color: #a1acb8;
}
.dark-style .bg-menu-theme .menu-link,
.dark-style .bg-menu-theme .menu-horizontal-prev,
.dark-style .bg-menu-theme .menu-horizontal-next {
  color: rgba(255, 255, 255, 0.87);
}
.dark-style .bg-menu-theme .menu-link:hover,
.dark-style .bg-menu-theme .menu-link:focus {
  color: rgba(255, 255, 255, 0.87);
  background-color: rgba(255, 255, 255, 0.05);
}
.dark-style .bg-menu-theme .menu-item.active > .menu-link {
  color: #696cff !important;
  background-color: rgba(105, 108, 255, 0.16);
}
.dark-style .bg-footer-theme {
  background-color: #232333 !important;
  color: #a1acb8;
}
.dark-style .content-wrapper,
.dark-style .layout-page {
  background-color: var(--bs-body-bg);
}
.dark-style .card {
  background-color: #2f2f42;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1acb8;
}
.dark-style .card-header,
.dark-style .card-title {
  color: #cfd3d8;
}
.dark-style .table {
  color: #a1acb8;
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-style .table thead th {
  color: #cfd3d8;
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-style .table td,
.dark-style .table th {
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-style .form-control,
.dark-style .form-select {
  background-color: #2f2f42;
  border-color: rgba(255, 255, 255, 0.12);
  color: #a1acb8;
}
.dark-style .form-control::placeholder {
  color: rgba(161, 172, 184, 0.6);
}
.dark-style .form-control:focus,
.dark-style .form-select:focus {
  background-color: #2f2f42;
  border-color: #696cff;
  color: #a1acb8;
}
.dark-style .dropdown-menu {
  background-color: #2f2f42;
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-style .dropdown-item {
  color: #a1acb8;
}
.dark-style .dropdown-item:hover,
.dark-style .dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.05);
  color: #cfd3d8;
}
.dark-style .dropdown-divider {
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-style h1, .dark-style h2, .dark-style h3, .dark-style h4, .dark-style h5, .dark-style h6,
.dark-style .h1, .dark-style .h2, .dark-style .h3, .dark-style .h4, .dark-style .h5, .dark-style .h6 {
  color: #cfd3d8;
}
.dark-style .navbar-detached {
  box-shadow: 0 0 0.375rem 0.25rem rgba(0, 0, 0, 0.2);
}
.dark-style .layout-menu-hover .layout-menu {
  box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.3);
}
.dark-style hr {
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 1;
}
.dark-style .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.2);
  color: #a1acb8;
}
.dark-style .btn-outline-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #cfd3d8;
}
.dark-style .border,
.dark-style .border-top,
.dark-style .border-bottom,
.dark-style .border-start,
.dark-style .border-end {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.dark-style .text-muted {
  color: rgba(161, 172, 184, 0.8) !important;
}
.dark-style .list-group-item {
  background-color: #2f2f42;
  border-color: rgba(255, 255, 255, 0.08);
  color: #a1acb8;
}
.dark-style .badge.bg-label-primary {
  background-color: rgba(105, 108, 255, 0.2);
  color: #9b9dff;
}
.dark-style .alert {
  border-color: rgba(255, 255, 255, 0.08);
}
.dark-style .breadcrumb-item a {
  color: #9b9dff;
}
.dark-style .footer-link {
  color: #a1acb8;
}
.dark-style .footer-link:hover {
  color: #cfd3d8;
}
