:root {
    --sans: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    view-transition-name: root;
    --sidebar-bg: #ffffff;
    --sidebar-text: #000000;
    --sidebar-hover: rgba(0, 0, 0, 0.06);
    --sidebar-active-bg: #000000;
    --sidebar-active-text: #ffffff;
    --sidebar-border: #e5e5e5;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-timing-function: ease-in-out;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: var(--sans) !important;
  font-weight: normal;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.logo {
    fill: currentColor;
}

header .logo {
    max-height: 1.5rem;
    width: auto;
    padding-right: 1rem;
    margin-right: 0.25rem;
    border-right: 1px solid var(--ds-text);
}

input::placeholder {
  color: var(--ds-text-subtle) !important;
  opacity: 0.5 !important;
}

.badge, .palette-badge {
  color: var(--ds-text);
  border: 1px solid color(from var(--bs-white) srgb r g b / 0.5);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background-color: var(--backdrop-color);
}

@keyframes fly-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fly-out {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

/*:root[data-bs-theme="light"] {
    --sidebar-bg: #ffffff;
    --sidebar-text: #000000;
    --sidebar-hover: rgba(0, 0, 0, 0.06);
    --sidebar-active-bg: #000000;
    --sidebar-active-text: #ffffff;
    --sidebar-border: #e5e5e5;
}

:root[data-bs-theme="dark"] {
    --sidebar-bg: #121821;
    --sidebar-text: #9fb3c8;
    --sidebar-hover: rgba(255, 255, 255, 0.06);
    --sidebar-active-bg: #1f6feb;
    --sidebar-active-text: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.08);
}*/

.admin-layout {
    display: flex;
    gap: 2rem;
    min-height: calc(100vh - 72px);
}

.admin-sidebar {
    width: 240px;
    padding: 1rem 1rem 1rem 1rem;
    flex-shrink: 0;
    border-right: 1px solid var(--sidebar-border);
    background: white;
    min-height: 100%;
}

    .admin-sidebar .nav-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        border-radius: 10px;
        font-weight: 500;
        color: var(--sidebar-text);
        transition: all 0.2s ease;
    }

        .admin-sidebar .nav-link:hover {
            background: var(--sidebar-hover);
            text-decoration: none;
        }

        .admin-sidebar .nav-link.active {
            background: var(--sidebar-active-bg);
            color: var(--sidebar-active-text);

        }

            .admin-sidebar .nav-link.active svg path {
                stroke: #fff !important;
            }

        .admin-sidebar .nav-link i {
            width: 18px;
            text-align: center;
            font-size: 14px;
        }

.admin-content {
    flex: 1;
    padding: 24px;
}

.toast-success {
    background: #e8f6ec;
    color: #2e7d32;
    border-radius: 10px;

}

    .toast-success .toast-header {
        background: transparent;
        color: #2e7d32;
        border-bottom: none;
    }

    .toast-success i {
        color: #2e7d32;
    }

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.6rem;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bs-danger);
    color: white;
    font-weight: 600;
}

.notification-dropdown {
    max-height: 360px;
    overflow-y: auto;
}

.profile-toggle:hover {
    opacity: 0.85;
}

.modal-narrow {
    max-width: 442px !important;
    border-radius: 10px !important;
}