section.login {
  height: 100dvh;
  display: flex;
  flex-wrap: wrap;
}
section.login .left-section,
section.login .right-section {
  width: 50%;
  padding: 20px;
}
section.login .logo {
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.7rem;
  margin-bottom: 30px;
}
section.login .left-section {
  background-image: url("../images/bg-login.jpg?assetVersion=20260902");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-end;
}
section.login .left-section small {
  opacity: 0.5;
  font-size: 0.8rem;
}
section.login .left-section small a {
  text-decoration: none;
}
section.login .right-section {
  display: flex;
  align-items: center;
  justify-content: center;
}
section.login .chips .chip label {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: calc(var(--radius) + 100px);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: 0.15s;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1rem;
  padding: 10px 20px;
  border-color: transparent;
  cursor: pointer;
}
section.login .chips .chip:hover label {
  background-color: hsl(var(--secondary)/0.7);
}
section.login .chips .chip input[type=checkbox] {
  display: none;
}
section.login .chips .chip:has(input[type=checkbox]:checked) label {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
@media (max-width: 991px) {
  section.login .left-section {
    display: none;
  }
  section.login .right-section {
    width: 100%;
    background-image: url("../images/bg-login.jpg?assetVersion=20260902");
    background-size: cover;
    background-position: center;
    position: relative;
  }
  section.login .right-section .logo {
    color: white;
  }
  section.login .right-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1;
  }
  section.login .right-section .content {
    position: relative;
    z-index: 2;
  }
}

section.dashboard a.card {
  border-width: 2px;
  display: block;
  text-decoration: none;
  position: relative;
}
section.dashboard a.card .status-icon {
  position: absolute;
  right: 10px;
  top: 10px;
}
section.dashboard a.card .card-img {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 10px 10px 0 0;
}
section.dashboard .badge-lg {
  font-size: 0.9rem;
  line-height: 1.4rem;
}

section.events .form-lg {
  font-size: 1.1rem;
  height: 2.5rem;
}
section.events .avatars .avatar {
  border-width: 3px;
}
section.events .table-accent {
  background-color: hsl(var(--muted)/0.5);
}
section.events .border-danger {
  border-color: var(--bs-danger) !important;
}
section.events table td,
section.events table th {
  white-space: nowrap;
  text-wrap: nowrap;
}
section.events a.card {
  border-width: 2px;
  display: block;
  text-decoration: none;
  position: relative;
}
section.events a.card .status-icon {
  position: absolute;
  right: 10px;
  top: 10px;
}
section.events .badge-lg {
  font-size: 0.9rem;
  line-height: 1.4rem;
}
section.events .alert-warning {
  --border: 24.6 95% 53.1%;
}

.notifications {
  position: relative;
}
.notifications .notifications-menu {
  display: none;
  position: absolute;
  top: 100%;
  width: 350px;
  max-width: 500px;
  right: 0;
  padding: 0;
  z-index: 10;
}
@media (max-width: 768px) {
  .notifications .notifications-menu {
    position: fixed;
    right: 0;
    top: calc(50px + env(safe-area-inset-top));
    width: calc(100% - 40px);
    margin: 0 20px;
  }
}
.notifications .notifications-menu.show {
  display: block !important;
}
.notifications .notifications-menu .item {
  text-decoration: none;
  display: flex;
  gap: 20px;
  align-items: center;
  border-bottom-width: 1px;
  padding: 15px 20px;
}
.notifications .notifications-menu .item:hover, .notifications .notifications-menu .item.unread {
  background: hsl(var(--accent));
}
.notifications .notifications-menu .item:last-child {
  border-bottom: none;
}

.sidebar-wrapper {
  height: 100dvh;
}
.sidebar-wrapper .sidebar-backdrop {
  height: 100dvh;
}
.sidebar-wrapper .sidebar-menu {
  padding-top: calc(0.5rem + env(safe-area-inset-top)) !important;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom)) !important;
}
.sidebar-wrapper .sidebar-header {
  padding-top: calc(0.75rem + env(safe-area-inset-top)) !important;
}
.sidebar-wrapper .sidebar-header .btn-notifications {
  position: relative;
}
.sidebar-wrapper .sidebar-header .btn-notifications .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  padding: 2px;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}
.sidebar-wrapper .sidebar-header .avatars .avatar {
  cursor: pointer;
}
.sidebar-wrapper .sidebar-content {
  padding-bottom: env(safe-area-inset-bottom) !important;
}

section.templates table td,
section.templates table th {
  white-space: nowrap;
  text-wrap: nowrap;
}
section.templates .sp-replacer {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: calc(0.375rem * (1 - var(--tw-space-y-reverse)));
  margin-bottom: 0;
}
section.templates .sp-replacer .sp-preview {
  margin: 0;
  overflow: hidden;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  border: hsl(var(--border));
}
section.templates .sp-replacer .sp-dd {
  display: none;
}

section.profile .avatar-lg {
  width: 100px;
  height: 100px;
  cursor: pointer;
}
section.profile .avatars {
  position: relative;
  display: inline-flex;
}
section.profile .avatars .badge {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  border-radius: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}
section.profile .chips .chip label {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: calc(var(--radius) + 100px);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: 0.15s;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1rem;
  padding: 10px 20px;
  border-color: transparent;
  cursor: pointer;
}
section.profile .chips .chip:hover label {
  background-color: hsl(var(--secondary)/0.7);
}
section.profile .chips .chip input[type=checkbox] {
  display: none;
}
section.profile .chips .chip:has(input[type=checkbox]:checked) label {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

section.availability .chips .chip label {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: calc(var(--radius) + 100px);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: 0.15s;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 0.9rem;
  padding: 10px 15px;
  border-color: transparent;
  cursor: pointer;
}
section.availability .chips .chip:hover label {
  background-color: hsl(var(--secondary)/0.7);
}
section.availability .chips .chip input[type=checkbox] {
  display: none;
}
section.availability .chips .chip:has(input[type=checkbox]:checked) label {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

section.team .avatar-lg {
  width: 100px;
  height: 100px;
  cursor: pointer;
}
section.team .avatars {
  position: relative;
  display: inline-flex;
}
section.team .avatars .badge {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
  border-radius: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}
section.team .btn-success {
  background: var(--bs-success);
  color: white;
}
section.team table td,
section.team table th {
  white-space: nowrap;
  text-wrap: nowrap;
}
section.team .chips .chip label {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border-radius: calc(var(--radius) + 100px);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: var(--ease);
  transition-duration: 0.15s;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1rem;
  padding: 10px 20px;
  border-color: transparent;
  cursor: pointer;
}
section.team .chips .chip:hover label {
  background-color: hsl(var(--secondary)/0.7);
}
section.team .chips .chip input[type=checkbox] {
  display: none;
}
section.team .chips .chip:has(input[type=checkbox]:checked) label {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

section.roles table td,
section.roles table th {
  white-space: nowrap;
  text-wrap: nowrap;
}

section.alerts a.card {
  border-width: 2px;
  display: block;
  text-decoration: none;
  position: relative;
}
section.alerts a.card .status-icon {
  position: absolute;
  right: 10px;
  top: 10px;
}
section.alerts a.card .card-img {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 10px 10px 0 0;
}
section.alerts .img-fluid {
  width: 100%;
  border-radius: 15px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
section.alerts .img-fluid.img-sm {
  cursor: pointer;
  max-width: 400px;
}
section.alerts .description {
  font-size: 1rem;
}
section.alerts h2 {
  font-size: 1.7rem;
}

main.index {
  height: 100dvh;
  overflow-y: auto;
}
main.index .text-gradient {
  background: linear-gradient(180deg, hsl(var(--foreground)), hsl(var(--muted-foreground)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
main.index .btn-lg {
  font-size: 1.1rem;
  height: 50px;
  font-weight: 600;
  padding: 0 1.5rem;
}
main.index section.index-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 1rem;
  border-bottom-width: 1px;
  background: hsl(var(--background)/0.72);
  backdrop-filter: blur(14px);
}
main.index section.index-header .logo {
  text-decoration: none;
}
main.index section.index-header .logo h1 {
  font-size: 1.8rem;
}
main.index section.index-hero {
  padding: 3rem 1rem;
}
main.index section.index-hero .float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  width: 15.5rem;
  background: hsl(var(--background)/0.85);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  box-shadow: 0 24px 48px -16px hsl(var(--foreground)/0.12);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
main.index section.index-hero .float-card .icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 1rem;
}
main.index section.index-hero .float-card strong {
  display: block;
  font-size: 0.8rem;
  line-height: 1.3;
}
main.index section.index-hero .float-card p {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}
main.index section.index-hero .float-card.float-card-a {
  top: 10%;
  left: -50px;
}
main.index section.index-hero .float-card.float-card-b {
  bottom: 6%;
  right: 0;
  animation-delay: 2.8s;
}
main.index section.index-hero h1 {
  font-size: 3rem;
  font-weight: 600;
}
main.index section.index-hero h1 strong {
  font-weight: inherit;
}
main.index section.index-hero h4 {
  font-size: 1.3rem;
  font-weight: 500;
}
main.index section.index-hero .img {
  width: 100%;
  filter: drop-shadow(0 60px 120px -30px hsl(var(--foreground)/0.14), 0 24px 48px -24px hsl(var(--foreground)/0.08), inset 0 0 0 1px hsl(var(--foreground)/0.04));
}
@media (max-width: 545px) {
  main.index section.index-hero {
    padding: 1rem;
    text-align: center;
  }
  main.index section.index-hero .float-card {
    display: none;
  }
  main.index section.index-hero h1 {
    font-size: 2.4rem;
  }
}
main.index section.index-features {
  padding: 3rem 1rem;
}
main.index section.index-features .card {
  background: hsl(var(--secondary)/0.35);
  border: 1px solid hsl(var(--border)/0.8);
  border-radius: 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  height: 100%;
}
main.index section.index-features .card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--muted-foreground)/0.3);
  background: hsl(var(--secondary)/0.5);
}
main.index section.index-features .card .icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 1.3rem;
  margin-bottom: 10px;
}
main.index section.index-features .card p {
  font-size: 1rem;
}
main.index section.index-features .card p strong {
  font-size: 1.1rem;
  font-weight: 500;
}
main.index section.index-ministries {
  border-block: 1px solid hsl(var(--border)/0.6);
  background: hsl(var(--secondary)/0.22);
  padding: 2.25rem 1rem;
}
main.index section.index-ministries .item {
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border)/0.7);
  border-radius: 999px;
  padding: 0.4rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 500;
}
main.index section.index-problem {
  padding: 3rem 1rem;
}
main.index section.index-problem .circle {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  font-size: 1.15rem;
}
main.index section.index-problem h3 {
  font-size: 2.5rem;
}
main.index section.index-problem p {
  margin-bottom: 0;
  font-size: 1.1rem;
  text-wrap: balance;
  max-width: 40rem;
}
main.index section.index-problem .card {
  height: 100%;
  padding: 1.75rem;
  background: hsl(var(--secondary)/0.35);
  border: 1px solid hsl(var(--border)/0.8);
  border-radius: 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
main.index section.index-problem .card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--muted-foreground)/0.3);
  background: hsl(var(--secondary)/0.5);
}
main.index section.index-problem .card h4 {
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: 15px;
}
main.index section.index-problem .card .items {
  display: flex;
  flex-flow: column;
  gap: 0.85rem;
}
main.index section.index-problem .card .items span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
}
main.index section.index-footer {
  padding: 3rem 1rem;
  border-top: 1px solid hsl(var(--border)/0.6);
}
main.index section.index-footer .nexus-link {
  text-decoration: none;
  border-bottom: 1px dotted hsl(var(--muted-foreground)/0.5);
  transition: all 0.25s ease;
}
main.index section.index-footer .nexus-link:hover {
  border-color: white;
  color: white;
}
main.index section.index-footer .menu {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 0.6rem;
}
main.index section.index-footer .menu a {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  text-decoration: none;
}
@media (max-width: 545px) {
  main.index section.index-footer {
    padding: 2rem 1rem;
  }
}

html,
body {
  overflow: hidden;
  color-scheme: dark;
}

.avatars .avatar {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

* {
  overscroll-behavior-y: none;
}

.toast.show {
  transform: translateX(-50%) translateY(calc(20px + env(safe-area-inset-top))) !important;
}

body.standalone .sidebar-wrapper,
body.standalone .sidebar-backdrop,
body.standalone section.login {
  height: 100vh !important;
}