@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/inter/inter-regular-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/inter/inter-regular-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/inter/inter-regular-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/inter/inter-regular-vietnamese.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/inter/inter-regular-latin-ext.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/inter/inter-regular-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/fonts/inter/inter-regular-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: oklch(0.9900 0 0);
  --foreground: oklch(0 0 0);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0 0 0);
  --popover: oklch(0.9900 0 0);
  --popover-foreground: oklch(0 0 0);
  --primary: oklch(0 0 0);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.9400 0 0);
  --secondary-foreground: oklch(0 0 0);
  --muted: oklch(0.9700 0 0);
  --muted-foreground: oklch(0.4400 0 0);
  --accent: oklch(0.9400 0 0);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.6300 0.1900 23.0300);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(0.9200 0 0);
  --input: oklch(0.9400 0 0);
  --ring: oklch(0 0 0);
  --radius: 0.5rem;
}

html {
  height:100%;
  width: 100vw;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: 'Inter', serif;
  -webkit-text-rendering: optimizeLegibility;
  -moz-text-rendering: optimizeLegibility;
  -ms-text-rendering: optimizeLegibility;
  -o-text-rendering: optimizeLegibility;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
  background: #fafafa;
  min-height: 100%;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: hsl(0, 0%, 22%);
}

a:hover {
  text-decoration: underline;
  color: inherit;
}

a:focus {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul li {
  display: inline;
}

*:focus {
  outline: none;
}

textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active {
  outline:0 !important;
  -webkit-appearance:none;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: #A1A1AA !important;
  box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.5) !important;
  outline: none !important;
}

.btn:not(.placeholder):not([class*=link]):not([class*=outline]):not([class*=ghost]):not([class*=transparent]):not([class*=close]),
.btn:hover:not(.placeholder):not([class*=link]):not([class*=outline]):not([class*=ghost]):not([class*=transparent]):not([class*=close]) {
  box-shadow: none;
}

.btn {
  font-weight: 600;
  border: 0;
}

.btn {
  height: 32px !important;
  padding: 4px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  border-radius: 6px !important;
  border-width: 1px !important;
  border-style: solid !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  box-sizing: border-box !important;
  box-shadow: none !important;
}

.btn:hover {
  height: 32px !important;
  padding: 4px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  border-width: 1px !important;
  box-shadow: none !important;
}

.btn-secondary {
  background-color: #ffffff !important;
  color: #18181B !important;
  border-color: #E4E4E7 !important;
}

.btn-secondary:hover {
  background-color: #F9FAFB !important;
  border-color: #D4D4D8 !important;
}

.btn-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

html.dark .btn-secondary {
  background-color: #27272A !important;
  color: #FAFAFA !important;
  border-color: #3F3F46 !important;
}

html.dark .btn-secondary:hover {
  background-color: #2D2D30 !important;
  border-color: #52525B !important;
}

.btn-outline-secondary {
  background-color: transparent !important;
  color: #18181B !important;
  border-color: #E4E4E7 !important;
}

.btn-outline-secondary:hover {
  background-color: #F9FAFB !important;
  color: #18181B !important;
  border-color: #D4D4D8 !important;
}

.btn-outline-secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

html.dark .btn-outline-secondary {
  background-color: transparent !important;
  color: #FAFAFA !important;
  border-color: #3F3F46 !important;
}

html.dark .btn-outline-secondary:hover {
  background-color: #27272A !important;
  border-color: #52525B !important;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #ffffff !important;
  border-width: 1px !important;
  font-weight: 500 !important;
}

.btn-danger:hover {
  background-color: #dd4b5a !important;
  border-color: #dd4b5a;
  border-width: 1px !important;
  font-weight: 500 !important;
}

.btn-danger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

html.dark .btn-danger {
  background-color: #dc3545;
  color: #ffffff !important;
}

html.dark .btn-danger:hover {
  background-color: #dd4b5a !important;
}

.btn-link-danger {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  height: auto !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #71717A !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: color 0.15s ease;
  text-decoration: none;
}

.btn-link-danger:hover {
  color: #DC2626 !important;
  text-decoration: none;
  background: transparent !important;
}

html.dark .btn-link-danger {
  color: #A1A1AA !important;
}

html.dark .btn-link-danger:hover {
  color: #F87171 !important;
}

.btn-link-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  height: auto !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #71717A !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: color 0.15s ease;
  text-decoration: none;
}

.btn-link-primary:hover {
  color: #1D4ED8 !important;
  text-decoration: none;
  background: transparent !important;
}

html.dark .btn-link-primary {
  color: #A1A1AA !important;
}

html.dark .btn-link-primary:hover {
  color: #93C5FD !important;
}

.btn-sm {
  height: 28px !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
}

.btn-sm:hover {
  height: 28px !important;
  padding: 2px 10px !important;
  font-size: 12px !important;
}

.dropdown-toggle::after {
  margin-left: 4px;
}

.btn-outline-secondary {
  border: 1px solid #dee2e6 !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:active,
.btn-outline-secondary:focus {
  color: #000000 !important;
  border: 1px solid #dee2e6 !important;
  background: #f2f2f2 !important;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background-color: #0078d4;
  border: 0 !important;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:hover {
  color: #fff !important;
  background-color: #2e87eb !important;
  border: 0;
}

.btn-secondary {
  color: hsl(0, 0%, 22%);
  background-color: hsl(0, 0%, 91%);
}

.btn-secondary:focus,
.btn-secondary.show,
.btn-secondary:active,
.btn-secondary:hover {
  color: hsl(0, 0%, 22%) !important;
  background-color: hsl(0, 0%, 86%) !important;
}

.btn.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: button-spinner 0.6s linear infinite;
}
.btn.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

html.dark .btn.btn-loading {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.btn-primary.btn-loading,
html.dark .btn-primary.btn-loading {
  color: transparent !important;
  font-size: 0 !important;
}

.btn.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: button-spinner 0.6s linear infinite;
}

.btn-secondary.btn-loading::after,
.btn-light.btn-loading::after {
  border-color: #71717A;
  border-top-color: transparent;
}

html.dark .btn.btn-loading::after {
  border-color: #ffffff;
  border-top-color: transparent;
}

html.dark .btn-primary.btn-loading::after {
  border-color: #ffffff;
  border-top-color: transparent;
}

html.dark .btn-secondary.btn-loading::after {
  border-color: #A1A1AA;
  border-top-color: transparent;
}

@keyframes button-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn.btn-loading {
  min-width: 80px;
  height: 32px !important;
}

.btn.btn-loading:hover {
  transform: none !important;
}

.btn-primary.btn-loading {
  background-color: #3B82F6 !important;
  border-color: #3B82F6 !important;
}

.btn-primary.btn-loading:hover {
  background-color: #3B82F6 !important;
  border-color: #3B82F6 !important;
}

html.dark .btn-primary.btn-loading {
  background-color: #3B82F6 !important;
  border-color: #3B82F6 !important;
}

html.dark .btn-primary.btn-loading:hover {
  background-color: #3B82F6 !important;
  border-color: #3B82F6 !important;
}

.btn-link-danger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  color: #71717A;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
  text-decoration: none;
}

.btn-link-danger:hover {
  color: #DC2626;
  text-decoration: none;
}

.btn-link-danger:hover {
  color: #DC2626;
  text-decoration: none;
}

html.dark .btn-link-danger {
  color: #A1A1AA;
}

html.dark .btn-link-danger:hover {
  color: #F87171;
}

.table-action {
  position: relative;
  display: inline-block;
}

.table-action-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  color: #71717A;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  height: 28px;
  width: 32px;
}

.table-action-btn:hover {
  background-color: #F4F4F5;
  color: #18181B;
}

.table-action-btn:active {
  background-color: #E4E4E7;
}

html.dark .table-action-btn {
  color: #A1A1AA;
}

html.dark .table-action-btn:hover {
  background-color: #27272A;
  color: #FAFAFA;
}

html.dark .table-action-btn:active {
  background-color: #3F3F46;
}

.table-action-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 1px solid #E4E4E7;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-width: 160px;
  padding: 4px;
  z-index: 1000;
  display: none;
}

.table-action-dropdown.active {
  display: block;
}

html.dark .table-action-dropdown {
  background: #27272A;
  border-color: #3F3F46;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.table-action-item {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  color: #18181B;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-decoration: none;
  border-radius: 4px;
}

.table-action-item:hover {
  background-color: #F4F4F5;
  color: #18181B;
  text-decoration: none;
}

html.dark .table-action-item {
  color: #FAFAFA;
}

html.dark .table-action-item:hover {
  background-color: #3F3F46;
  color: #FAFAFA;
  text-decoration: none;
}

.table-action-separator {
  height: 1px;
  background-color: #E4E4E7;
  margin: 4px 8px;
}

html.dark .table-action-separator {
  background-color: #3F3F46;
}

.table-action-item.destructive {
  color: #DC2626;
}

.table-action-item.destructive:hover {
  background-color: #FEE2E2;
  color: #B91C1C;
}

html.dark .table-action-item.destructive {
  color: #EF4444;
}

html.dark .table-action-item.destructive:hover {
  background-color: rgba(220, 38, 38, 0.1);
  color: #F87171;
}

.main-container {
  padding: 0 0 80px 0;
}

.container-limited-width {
  max-width: 1200px;
}

h4 {
  font-size: 18px;
}

a.btn:hover {
  text-decoration: none;
}

.form-switch label {
  margin: 1px 0 0 0;
}

label.required:after {
  content: " *";
  color: #DC2626;
}

.col-form-label {
  font-size: 14px;
  font-weight: 500;
}

.form-control:disabled,
.form-control[disabled] {
  background-color: #FAFAFA;
  border-color: #E4E4E7;
  color: #71717A;
  cursor: not-allowed;
  opacity: 1;
}

.form-check-input:checked {
  background-color: #267ddd;
  border-color: #267ddd;
}

.form-switch .form-check-input {
  width: 32px;
  height: 20px;
  cursor: pointer;
}

html.dark .input-group-text {
  background-color: #18181B;
  border-color: transparent;
  color: #FAFAFA;
}

.click-to-copy {
  cursor: pointer;
}

.click-to-copy:hover {
  text-decoration: none;
}

.tooltip-inner {
  background: #ffffff;
  color: #000000;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border: 1px solid #ccc;
}

.tooltip.show {
  opacity: 1;
}

.tooltip .tooltip-arrow {
  display: none;
}

header {
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
}

html.dark header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}

.top-bar-left {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 150px;
  border-right: 1px solid #ebebeb;
  margin: 0 20px 0 0;
}

html.dark .top-bar-left {
  border-right: 1px solid var(--border);
}

.top-bar-center {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-center ul {
  padding: 0;
  display: flex;
  gap: 8px;
}

.top-bar-center ul li {
  padding: 0;
}

.top-bar-center ul li a {
  color: #71717A;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: inline-block;
  letter-spacing: -0.01em;
}

.top-bar-center ul li a:hover {
  color: #18181B;
  background-color: #F4F4F5;
  text-decoration: none;
}

.top-bar-center ul li a.active {
  color: #18181B;
  background-color: #FAFAFA;
  font-weight: 600;
}

.top-bar-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.top-bar-right a.icon-item {
  width: 30px;
  height: 30px;
  border: 1px solid #dee2e6;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.top-bar-right a.icon-item:hover {
  background-color: #ebebeb;
  border-color: #d9d9d9;
  color: black;
}

.top-bar-right a.icon-item i {
  font-size: 0.85rem;
}

.header-search {
  position: relative;
  width: 200px;
}

.header-search-input {
  width: 100%;
  height: 28px;
  padding: 6px 42px 6px 12px;
  font-size: 13px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: #F9FAFB;
  color: #18181B;
  transition: all 0.2s ease;
}

.header-search-input::placeholder {
  color: #A1A1AA;
  font-weight: 400;
}

.header-search-input:focus {
  border-color: #D1D5DB;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(161, 161, 170, 0.15);
}

.header-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #71717A;
  font-size: 16px;
  pointer-events: none;
}

.header-search-kbd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  font-size: 10px;
  font-family: monospace;
  color: #71717A;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  pointer-events: none;
}

html.dark .header-search-input {
  background: #18181B;
  border-color: #27272A;
  color: #F9FAFB;
}

html.dark .header-search-input::placeholder {
  color: #71717A;
}

html.dark .header-search-input:focus {
  background: #09090B;
  border-color: #3F3F46;
  box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.15);
}

html.dark .header-search-icon {
  color: #A1A1AA;
}

html.dark .header-search-kbd {
  background: #27272A;
  border-color: #3F3F46;
  color: #A1A1AA;
}

.header-search-results {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #E4E4E7;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 360px;
  overflow-y: auto;
  z-index: 1000;
  padding: 4px;
}

.search-result-item {
  display: block;
  padding: 8px 12px;
  color: #18181B;
  text-decoration: none;
  font-size: 13px;
  background: transparent;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.search-result-item:hover {
  background: #F4F4F5;
  color: #18181B;
  text-decoration: none;
}

.search-no-results {
  padding: 20px 16px;
  text-align: center;
  color: #A1A1AA;
  font-size: 14px;
}

html.dark .header-search-results {
  background: #27272A;
  border-color: #3F3F46;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

html.dark .search-result-item {
  color: #FAFAFA;
}

html.dark .search-result-item:hover {
  background: #3F3F46;
  color: #FAFAFA;
  text-decoration: none;
}

html.dark .search-no-results {
  color: #71717A;
}

@media (max-width: 768px) {
  .header-search {
    display: none;
  }
}

.dropdown-menu {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  padding: 4px;
  min-width: 180px;
}

.user-dropdown-menu {
  min-width: 240px;
  max-width: 280px;
  padding: 8px;
  margin-top: 4px;
}

.user-info-section {
  padding: 0;
  margin: 0;
}

.user-info-header {
  display: block;
  padding: 12px 16px 16px 16px;
}

.user-avatar {
  display: none;
}

.user-details {
  display: block;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
  line-height: 1.3;
}

.user-email {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.3;
}

.cursor-pointer {
  cursor: pointer;
}

.theme-switcher-section {
  padding: 0;
  margin: 0;
}

.theme-switcher-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  cursor: default;
}

.theme-switcher-row:hover {
  background: transparent !important;
}

.theme-switcher-label {
  font-size: 13px;
  font-weight: 400;
  color: #374151;
  margin: 0;
}

.theme-switcher-fieldset {
  border: 1px solid #E5E7EB;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 0;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.theme-option {
  display: inline-flex;
  position: relative;
}

.theme-option:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #E5E7EB;
  pointer-events: none;
}

.theme-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border-radius: 0;
  transition: all 0.15s ease;
  color: #666666;
  margin: 0;
  background: transparent;
}

.theme-option label:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.theme-option input[type="radio"]:checked + label {
  background-color: #EAEAEA;
  color: #000000;
}

.theme-option label svg {
  display: block;
  width: 16px;
  height: 16px;
}

.user-dropdown-menu .dropdown-divider {
  margin: 6px 0;
  border-color: #E5E7EB;
  opacity: 1;
}

.user-dropdown-menu .dropdown-item {
  border-radius: 4px;
  font-size: 13px;
  font-weight: 400;
  padding: 8px 16px;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-dropdown-menu .dropdown-item:active,
.user-dropdown-menu .dropdown-item:focus {
  background-color: var(--bs-dropdown-link-hover-bg);
}

.user-dropdown-menu .dropdown-item i {
  font-size: 14px;
  color: #6B7280;
}

a.dropdown-item {
  font-size: 14px;
  padding: 6px 8px;
  color: #111827;
  transition: all 0.15s ease;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

a.dropdown-item:hover {
  text-decoration: none;
  background-color: #F3F4F6;
  color: #111827;
}

.card {
  border: 1px solid #ebebeb;
  border-radius: 5px;
}

.card-header {
  background: #ffffff;
  border-bottom: 1px solid #ebebeb;
  font-size: 18px;
  display: flex;
  align-items: center;
  padding: 15px;
}

.card-footer {
  border-top: 1px solid #ebebeb;
}

html.dark .card-footer {
  border-top: 1px solid var(--border);
}

.card .card-form .row {
  margin: 0 0 20px 0;
}

.card .card-form .row:last-child {
  margin: 0;
}

.card .card-footer {
  background: #ffffff;
  padding: 15px;
}

a.generate-new-password {
  font-size: 13px;
  color: #0078d4;
  margin-top: 6px;
  display: inline-block;
  transition: all 0.15s ease;
}

a.generate-new-password:hover {
  color: #2e87eb;
  text-decoration: underline;
}

.alert-container {
  margin-bottom: 20px;
}

.alert-container .alert {
  border-radius: 8px;
  border: 1px solid;
  padding: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.alert-container .alert:last-child {
  margin-bottom: 0;
}

.alert-container .alert-danger {
  background-color: hsl(0, 0%, 100%);
  border-color: hsl(0, 0%, 90%);
  color: hsl(0, 74%, 42%);
}

.alert-container .alert-danger .alert-icon {
  color: hsl(0, 74%, 42%);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.alert-container .alert-danger .alert-icon svg {
  width: 20px;
  height: 20px;
}

.alert-container .alert-danger .alert-content {
  flex: 1;
  color: hsl(0, 74%, 42%);
}

.alert-container .alert-danger .alert-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: hsl(0, 74%, 42%);
  line-height: 1.5;
}

.alert-container .alert-danger .alert-description {
  font-size: 14px;
  color: hsl(0, 74%, 42%);
  line-height: 1.7;
  margin-bottom: 0;
}

.alert-container .alert-danger .alert-description p {
  margin: 0 0 8px 0;
}

.alert-container .alert-danger .alert-description p:last-child {
  margin-bottom: 0;
}

.alert-container .alert-danger .alert-description ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
  list-style-type: disc;
}

.alert-container .alert-danger .alert-description ul li {
  display: list-item;
  padding-left: 4px;
  margin-bottom: 4px;
  color: hsl(0, 74%, 42%);
  line-height: 1.7;
}

.alert-container .alert-danger .alert-description ul li:last-child {
  margin-bottom: 0;
}

.alert-container .alert-success {
  background-color: hsl(0, 0%, 100%);
  border-color: hsl(0, 0%, 90%);
  color: hsl(0, 74%, 42%);
}

.alert-container .alert-success .alert-icon {
  color: hsl(140, 100%, 27%);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.alert-container .alert-success .alert-icon svg {
  width: 20px;
  height: 20px;
}

.alert-container .alert-success .alert-content {
  flex: 1;
  color: hsl(140, 100%, 27%);
}

.alert-container .alert-success .alert-title {
  font-weight: 600;
  font-size: 14px;
  color: hsl(140, 100%, 27%);
  line-height: 1.9;
}

.alert-container .alert-success .alert-description {
  font-size: 14px;
  color: hsl(140, 100%, 27%);
  line-height: 1.7;
}

.has-error input,
.has-error textarea,
.has-error select {
  border: 1px solid #e54d42;
}

.page-header {
  margin: 20px 0;
}

.page-header .page-title h1 {
  font-size: 30px;
  color: #2e2e2e;
  font-weight: 600;
  margin: 0;
}

.page-content .card {
  margin: 0 0 25px 0;
}

.page-content .card:last-child {
  margin: 0;
}

.card-body-table {
  padding: 0.05rem
}

.card-body-table .table tr:last-child td {
  border-bottom: 0;
}

.card-body {
  font-size: 14px;
}

.table {
  --bs-table-hover-bg: #fafafa;
  margin-bottom: 0 !important;
}

.table thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #71717A;
  border-bottom: 1px solid #E4E4E7;
  padding: 12px 16px;
}

.table thead th.action-col {
  width: 90px;
}

.table tbody td {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #18181B;
  padding: 14px 16px;
  vertical-align: top;
}

.table-sortable thead th[data-sortable] {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}

.table-sortable thead th[data-sortable]:hover {
  color: #18181B;
}

html.dark .table-sortable thead th[data-sortable]:hover {
  color: #F9FAFB;
}

.sort-indicator {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  opacity: 0.3;
  transition: opacity 0.15s ease;
  font-size: 10px;
  vertical-align: middle;
}

.table-sortable thead th[data-sortable]:hover .sort-indicator {
  opacity: 0.6;
}

.table-sortable thead th[data-sort-order] .sort-indicator {
  opacity: 1;
  color: #18181B;
}

html.dark .table-sortable thead th[data-sort-order] .sort-indicator {
  color: #F9FAFB;
}

.sort-indicator i {
  font-size: 11px;
}

a.row-link {
  display: block;
  font-weight: 500;
}

a.row-link:hover {
  text-decoration: none;
}

a.action-icon {
  color: #6c757d;
  text-decoration: none;
  padding: 4px;
  border-radius: 5px;
}

a.action-icon:hover {
  background-color: #ebebeb;
  color: #6c757d;
}

.status-dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #28a745;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
  vertical-align: middle;
}

.status-dot-orange {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #fb923c;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
  vertical-align: middle;
}

.status-dot-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #dc3545;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
  vertical-align: middle;
}

.status-dot-gray {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #cacaca;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(202, 202, 202, 0.2);
  vertical-align: middle;
}

html.dark .status-dot-green {
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
}

html.dark .status-dot-orange {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2);
}

html.dark .status-dot-red {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2);
}

.form-control-lg,
.form-select-lg {
  font-size: 14px;
}

.form-text {
  font-size: 12px;
  color: #71717A;
  margin-top: 6px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-weight: 400;
}

.toggle-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E5E7EB;
  border-radius: 24px;
  border: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

html.dark .toggle-slider {
  background-color: #3F3F46;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  border: none;
  transition: transform 0.2s ease;
  box-shadow: none;
}

html.dark .toggle-slider:before {
  background-color: #FAFAFA;
}

.toggle input:checked + .toggle-slider {
  background-color: #3B82F6;
}

html.dark .toggle input:checked + .toggle-slider {
  background-color: #3B82F6;
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(14px);
  background-color: white;
}

html.dark .toggle input:checked + .toggle-slider:before {
  background-color: #fff;
}

.toggle input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: #18181B;
  user-select: none;
}

html.dark .toggle-label {
  color: #FAFAFA;
}

.toggle input:disabled ~ .toggle-label {
  opacity: 0.5;
  cursor: not-allowed;
}

.footer {
  background: #ffffff;
  padding: 10px 0;
  border-top: 1px solid #e2e2e2;
  box-shadow: 0 2px 2px 0 hsl(0deg 0% 93% / 50%);
  text-align: center;
}

.footer ul li {
  font-size: 14px;
  color: #707070;
  display: inline;
}

.footer ul li a {
  margin: 0 5px;
  color: #707070;
}

.footer ul li a:hover {
  color: #707070;
}

.footer ul li.locale-selector {
  margin: 0 10px 0 0;
}

.footer ul li.locale-selector form {
  display: inline-block;
}

.footer ul li.locale-selector form select {
  font-size: 14px;
}

.footer ul li:first-child:after {
  content: "";
}

.footer ul li:after {
  content: "|";
}

.footer ul li:last-child:after {
  content: "";
}

.dark {
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 0);
  --card: oklch(0.1400 0 0);
  --card-foreground: oklch(1 0 0);
  --popover: oklch(0.1800 0 0);
  --popover-foreground: oklch(1 0 0);
  --primary: oklch(1 0 0);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.2500 0 0);
  --secondary-foreground: oklch(1 0 0);
  --muted: oklch(0.2300 0 0);
  --muted-foreground: oklch(0.7200 0 0);
  --accent: oklch(0.3200 0 0);
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.6900 0.2000 23.9100);
  --destructive-foreground: oklch(0 0 0);
  --border: oklch(0.2600 0 0);
  --input: oklch(0.3200 0 0);
  --ring: oklch(0.7200 0 0);
}

html.dark {
  color-scheme: dark;
}

html.dark body {
  background: var(--background);
  color: var(--foreground);
}

img.logo {
  height: 26px;
  width: auto;
  max-width: 126px;
  object-fit: contain;
}

html.dark img.logo {
  filter: brightness(0) invert(1);
}

html.dark .top-bar-center ul li a {
  color: var(--muted-foreground);
}

html.dark .top-bar-center ul li a:hover {
  color: var(--foreground);
}

html.dark .top-bar-right .btn-outline-secondary {
  border-color: var(--border);
  color: var(--muted-foreground);
  background: transparent;
}

html.dark .top-bar-right .btn-outline-secondary:hover {
  background: var(--accent) !important;
  border-color: var(--border) !important;
  color: var(--foreground) !important;
}

html.dark .top-bar-right a.icon-item {
  color: var(--muted-foreground);
}

html.dark .top-bar-right a.icon-item:hover {
  background-color: var(--accent);
  color: var(--foreground);
}

html.dark .card {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

html.dark .card-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  color: var(--card-foreground);
}

html.dark .card-body {
  background: var(--card);
  color: var(--card-foreground);
}

html.dark .card .card-footer {
  background: var(--card);
}

html.dark .page-header .page-title h1 {
  color: var(--foreground);
}

html.dark .btn-secondary {
  border: 1px solid var(--border) !important;
  color: var(--card-foreground);
  background: var(--input);
}

html.dark .btn-secondary:hover,
html.dark .btn-secondary:active,
html.dark .btn-secondary:focus {
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
  background: #404040 !important;
}

html.dark .btn-outline-secondary {
  border: 1px solid var(--border) !important;
  color: var(--card-foreground);
  background: transparent;
}

html.dark .btn-outline-secondary:hover,
html.dark .btn-outline-secondary:active,
html.dark .btn-outline-secondary:focus {
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
  background: var(--accent) !important;
}

html.dark .dropdown-menu {
  background: var(--popover);
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

html.dark .dropdown-menu-label {
  color: var(--muted-foreground);
}

html.dark a.dropdown-item {
  color: var(--popover-foreground);
  border-radius: 4px;
}

html.dark a.dropdown-item:hover,
html.dark a.dropdown-item:focus {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

html.dark a.dropdown-item.disabled,
html.dark a.dropdown-item:disabled {
  color: var(--muted-foreground);
  opacity: 0.5;
}

html.dark .footer {
  background: var(--card);
  border-top: 1px solid var(--border);
}

html.dark .footer ul li {
  color: var(--muted-foreground);
}

html.dark .footer ul li a {
  color: var(--muted-foreground);
}

html.dark .footer ul li a:hover {
  color: #60A5FA;
}

html.dark .footer ul li.locale-selector form select {
  background: var(--input);
  color: var(--foreground);
  border: 1px solid var(--border);
}

html.dark .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
}

html.dark .form-control,
html.dark .form-select {
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--foreground);
}

html.dark .form-control:focus,
html.dark .form-select:focus,
html.dark textarea.form-control:focus {
  border-color: #787878 !important;
  box-shadow: 0 0 0 3px rgba(120, 120, 120, 0.5) !important;
  outline: none !important;
}

html.dark .form-control::placeholder {
  color: var(--muted-foreground);
}

html.dark .form-label,
html.dark .col-form-label {
  color: var(--foreground);
}

html.dark .form-text {
  color: var(--muted-foreground);
}

html.dark .generate-new-password {
  color: #60A5FA;
}

html.dark .generate-new-password:hover {
  color: #93C5FD;
}

html.dark .form-link {
  color: #60A5FA;
}

html.dark .form-link:hover {
  color: #93C5FD;
}

html.dark .information-box {
  color: var(--card-foreground);
}

html.dark .information-box h4 {
  color: var(--muted-foreground);
}

html.dark .information-box a.click-to-copy {
  color: var(--card-foreground);
}

html.dark .first-site-header-container h4 {
  color: var(--foreground);
}

html.dark .first-site-header-container .sub-header {
  color: var(--muted-foreground);
}

html.dark .site-type-container .list-group-item {
  background: var(--card);
  border: 1px solid var(--border);
}

html.dark .site-type-container .icon-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

html.dark .site-type-container .type-description h4 {
  color: var(--foreground);
}

html.dark .site-type-container .type-description p {
  color: var(--muted-foreground);
}

html.dark .site-type-container .icon-item svg {
  color: #FFFFFF;
  opacity: 1;
}

html.dark .table {
  --bs-table-bg: var(--card);
  --bs-table-hover-bg: var(--accent);
  color: var(--card-foreground);
}

html.dark .table thead {
  border-bottom: 1px solid var(--border);
}

html.dark .table td,
html.dark .table th {
  border-color: var(--border);
  color: var(--card-foreground);
}

html.dark thead th {
  color: var(--muted-foreground);
}

html.dark tbody td {
  color: var(--foreground);
}

html.dark td a.row-link {
  color: var(--foreground);
}

html.dark a.row-link {
  color: var(--card-foreground);
}

html.dark a.action-icon {
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html.dark a.action-icon:hover {
  background-color: var(--accent);
  color: var(--foreground);
}

html.dark .text-secondary {
  color: var(--muted-foreground) !important;
}

html.dark .text-muted {
  color: var(--muted-foreground) !important;
}

html.dark a {
  color: var(--card-foreground);
}

html.dark a:hover {
  color: #60A5FA;
}

html.dark .tooltip-inner {
  background: var(--popover);
  color: var(--popover-foreground);
  border: 1px solid var(--border);
}

html.dark .modal-content {
  background: var(--card);
  border: 1px solid var(--border);
}

html.dark .modal-header {
  border-bottom: 1px solid var(--border);
}

html.dark .modal-title {
  color: var(--foreground);
}

html.dark .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

html.dark .site-type-card {
  background: var(--card);
  border: 1px solid var(--border);
}

html.dark .site-type-card:hover {
  border-color: #0078d4;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

html.dark .site-type-icon {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html.dark .site-type-card:hover .site-type-icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: #0078d4;
  box-shadow: 0 2px 8px rgba(0, 120, 212, 0.25);
}

html.dark .site-type-icon svg {
  color: #FFFFFF;
  opacity: 1;
}

html.dark .site-type-info h6 {
  color: var(--foreground);
}

html.dark .site-type-info p {
  color: var(--muted-foreground);
}

html.dark .user-dropdown-menu {
  background: var(--popover);
  border: 1px solid var(--border);
}

html.dark .user-name {
  color: var(--foreground);
}

html.dark .user-email {
  color: var(--muted-foreground);
}

html.dark .theme-switcher-label {
  color: var(--foreground);
}

html.dark .theme-switcher-row:hover {
  background: transparent !important;
}

html.dark .theme-switcher-fieldset {
  border-color: var(--border);
  background: transparent;
}

html.dark .theme-option:not(:last-child)::after {
  background: var(--border);
}

html.dark .theme-option label {
  color: var(--muted-foreground);
}

html.dark .theme-option label:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

html.dark .theme-option input[type="radio"]:checked + label {
  background-color: var(--accent);
  color: var(--foreground);
}

html.dark .user-dropdown-menu .dropdown-divider {
  border-color: var(--border);
}

html.dark .user-dropdown-menu .dropdown-item {
  color: var(--foreground);
}

html.dark .user-dropdown-menu .dropdown-item:hover {
  background-color: var(--accent) !important;
  color: var(--accent-foreground);
}

html.dark .user-dropdown-menu li.theme-switcher-section .dropdown-item:hover {
  background: transparent !important;
}

html.dark .user-dropdown-menu .dropdown-item i {
  color: var(--muted-foreground);
}

html.dark .theme-switcher-section .dropdown-item:hover {
  background: transparent;
}

html.dark .alert-container .alert {
  background: var(--card);
  border: 1px solid var(--border);
}

html.dark .alert-container .alert-success .alert-icon,
html.dark .alert-container .alert-success .alert-content,
html.dark .alert-container .alert-success .alert-title {
  color: var(--foreground);
}

html.dark .alert-container .alert-danger .alert-icon,
html.dark .alert-container .alert-danger .alert-content,
html.dark .alert-container .alert-danger .alert-description ul li,
html.dark .alert-container .alert-danger .alert-title {
  color: oklch(70.4% .191 22.216);
}

.tab-container {
  border: 1px solid #E4E4E7;
  background: #ffffff;
  margin: 0 0 32px 0;
  border-radius: 8px;
  padding: 8px;
}

.tab-container ul {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-container ul li {
  display: inline-block;
  list-style: none;
}

.tab-container ul li a {
  padding: 10px 16px;
  color: #71717A;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease;
  display: inline-block;
  letter-spacing: -0.01em;
}

.tab-container ul li a.active,
.tab-container ul li a.active:hover {
  color: #18181B;
  background-color: #FAFAFA;
  font-weight: 600;
  border: 1px solid #E4E4E7;
}

.tab-container ul li a:hover {
  color: #18181B;
  background-color: #F4F4F5;
  text-decoration: none;
}

html.dark .tab-container {
  background: var(--card);
  border: 1px solid #27272A;
}

html.dark .tab-container ul li a {
  color: #A1A1AA;
}

html.dark .tab-container ul li a.active,
html.dark .tab-container ul li a.active:hover {
  color: #FAFAFA;
  background-color: #27272A;
  border: 1px solid #3F3F46;
}

html.dark .tab-container ul li a:hover {
  color: #FAFAFA;
  background-color: #27272A;
  text-decoration: none;
}

html.dark .top-bar-center ul li a {
  color: #A1A1AA;
}

html.dark .top-bar-center ul li a:hover {
  color: #FAFAFA;
  background-color: #27272A;
}

html.dark .top-bar-center ul li a.active {
  color: #FAFAFA;
  background-color: #27272A;
  font-weight: 600;
}

html.dark label.required:after {
  color: #F87171;
}

html.dark .form-control:disabled,
html.dark .form-control[disabled] {
  background-color: #27272A;
  border-color: #3F3F46;
  color: #A1A1AA;
}

.toggle-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
}

.toggle-setting-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #18181B;
  margin: 0;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.dark .toggle-setting-label {
  color: #FAFAFA;
}

.card-header .toggle-setting {
  margin-right: 13px;
}



.notification-item .notification-card {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background-color: transparent !important;
}

html.dark .notification-item .notification-card {
  background-color: transparent !important;
}

.notification-icon-wrapper {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FEF3C7;
  border-radius: 50%;
  color: #F59E0B;
}

html.dark .notification-icon-wrapper {
  background-color: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
}

.notification-icon-wrapper i {
  font-size: 16px;
}

.notification-icon-read {
  background-color: #F4F4F5;
  color: #71717A;
}

html.dark .notification-icon-read {
  background-color: #27272A;
  color: #A1A1AA;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-section {
  position: relative;
}

.notification-trigger {
  position: relative;
  width: 36px;
  height: 36px;
  color: #71717A;
  transition: all 0.2s;
}

.notification-trigger:hover:not(.disabled) {
  background-color: rgba(0, 0, 0, 0.05);
  color: #18181B;
}

html.dark .notification-trigger:hover:not(.disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FAFAFA;
}

.notification-trigger.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

html.dark .notification-trigger.disabled {
  opacity: 0.4;
}

.notification-trigger .bi-bell {
  font-size: 18px;
}

.notification-trigger .notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

html.dark .notification-trigger .notification-badge {
  border-color: #18181B;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notification-dropdown-menu {
  width: 380px;
  max-height: 500px;
  overflow-y: auto;
  padding: 0;
  margin-top: 8px;
  border: 1px solid #E4E4E7;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

html.dark .notification-dropdown-menu {
  border-color: #3F3F46;
  background-color: #27272A;
}

.notification-header {
  padding: 0 !important;
}

.notification-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 12px 20px;
  width: 100%;
}

.notification-title {
  font-size: 15px;
  font-weight: 600;
  color: #18181B;
  line-height: 1.4;
}

html.dark .notification-title {
  color: #FAFAFA;
}

.notification-view-all {
  font-size: 13px;
  color: #3B82F6;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.notification-view-all:hover {
  color: #2563EB;
  text-decoration: underline;
}

html.dark .notification-view-all {
  color: #60A5FA;
}

html.dark .notification-view-all:hover {
  color: #93C5FD;
  text-decoration: underline;
}

ul.notification-dropdown-menu li.notification-item {
  display: block !important;
  position: relative !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  background-color: transparent !important;
  border-top: 1px solid #E4E4E7 !important;
  border-radius: 0 !important;
  transition: background-color 0.15s !important;
  list-style: none !important;
}

html.dark ul.notification-dropdown-menu li.notification-item {
  border-top-color: #3F3F46 !important;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  border: none;
  padding: 0;
}

.notification-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.notification-title-text {
  font-size: 14px;
  font-weight: 500;
  color: #18181B;
  line-height: 1.4;
}

html.dark .notification-title-text {
  color: #FAFAFA;
}

.notification-action-item:hover {
  background-color: #F4F4F5;
}

html.dark .notification-action-item {
  color: #FAFAFA;
}

html.dark .notification-action-item:hover {
  background-color: #3F3F46;
}

.notification-description {
  font-size: 13px;
  line-height: 1.5;
  color: #71717A;
  margin-top: 6px;
  margin-bottom: 0;
  margin-left: 24px;
}

html.dark .notification-description {
  color: #A1A1AA;
}

.notification-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.notification-dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.notification-dropdown-menu::-webkit-scrollbar-thumb {
  background: #D4D4D8;
  border-radius: 3px;
}

html.dark .notification-dropdown-menu::-webkit-scrollbar-thumb {
  background: #52525B;
}

.notification-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #A1A1AA;
}

html.dark .notification-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #71717A;
}