@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
@import url("https://cdn.materialdesignicons.com/5.4.55/css/materialdesignicons.min.css");
/* ---------------------------------- Modern Dark Color System ---------------------------------- */
/* ---------------------------------- Material Icons ---------------------------------- */
.mdi {
  font-family: "Material Design Icons";
  vertical-align: middle;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mdi-18 {
  font-size: 18px;
}
.mdi-20 {
  font-size: 20px;
}
.mdi-24 {
  font-size: 24px;
}
.mdi-30 {
  font-size: 30px;
}
.mdi-36 {
  font-size: 36px;
}
.mdi-48 {
  font-size: 48px;
}
.mdi.md-dark {
  color: rgba(240, 246, 252, 0.7);
}
.mdi.md-dark.md-inactive {
  color: rgba(240, 246, 252, 0.4);
}
.mdi.md-light {
  color: rgb(255, 255, 255);
}
.mdi.md-light.md-inactive {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------------------------------- HTML5 Tags ----------------------------------  */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

audio, canvas, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

/* ---------------------------------- Form Error ---------------------------------- */
select.error, input[type=text].error, input[type=password].error, input[type=email].error, input[type=tel].error, textarea.error, button.error {
  border: solid 2px #ff6b6b;
  border-radius: 12px;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.errormsg {
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #ff6b6b, #ff9e9e);
  padding: 12px 20px;
  line-height: 20px;
  white-space: nowrap;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  animation: slideInDown 0.3s ease-out;
}
.errormsg .arrow {
  display: none;
  z-index: 1;
  position: absolute;
  top: -8px;
  left: 15px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ff6b6b;
}

@keyframes slideInDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ---------------------------------- Responsive items ---------------------------------- */
table, img, iframe {
  max-width: 100%;
  height: auto;
}

ul, ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}

.img-responsive, .vdo-responsive {
  width: 100%;
  display: block;
}

.img-hidden {
  visibility: hidden;
}

/* ---------------------------------- Fluid Youtube Video ---------------------------------- */
.vdowrap {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}
.vdowrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ---------------------------------- Main ---------------------------------- */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background-color: #0d1117;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  color: #f0f6fc;
  border: 0;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0d1117 0%, rgb(18.525, 24.225, 32.775) 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body:after {
  content: "desktop";
  display: none;
}

a {
  text-decoration: none;
}

@media (max-width: 992px) {
  body:after {
    content: "tablet";
  }
}
@media (max-width: 768px) {
  body:after {
    content: "tablet";
  }
}
@media (max-width: 576px) {
  body:after {
    content: "mobile";
  }
}
@media (max-width: 320px) {
  body:after {
    content: "mobile";
  }
}
.left {
  float: left;
}

.right {
  float: right;
}

.clr {
  clear: both;
}

.point {
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.anchor {
  padding-top: 40px;
  margin-top: -40px;
}

.border {
  border: solid 1px rgba(48, 54, 61, 0.8);
  border-radius: 12px;
}

*:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3) !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}
/* ---------------------------------- Headers ---------------------------------- */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5 {
  font-weight: 600;
  color: #f0f6fc;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.025em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

h1, .h1 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f0f6fc, #ff7b54);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2, .h2 {
  font-size: clamp(20px, 3.5vw, 24px);
  line-height: 1.3;
  margin-bottom: 16px;
}

h3, .h3 {
  font-size: clamp(18px, 3vw, 20px);
  line-height: 1.4;
  margin-bottom: 12px;
}

h4, .h4 {
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 10px;
}

h5, .h5 {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.5;
  margin-bottom: 8px;
}

@media (max-width: 766px) {
  h1, .h1 {
    font-size: 22px;
  }
  h2, .h2 {
    font-size: 18px;
  }
  h3, .h3 {
    font-size: 16px;
  }
  h4, .h4 {
    font-size: 14px;
  }
}
a {
  color: #ff7b54;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
a:hover {
  color: #5865f2;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

/* ---------------------------------- Alert ---------------------------------- */
.alert {
  border-radius: 12px;
  border: 1px solid rgba(48, 54, 61, 0.8);
  margin: 0 0 30px 0;
  background: rgba(22, 27, 34, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.alert .mdi {
  font-size: 40px;
  color: #5865f2;
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.3));
}
.alert .headline {
  font-weight: 600;
  font-size: 20px;
  color: #f0f6fc;
  margin-top: 10px;
}
.alert-danger {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.3);
  background: rgba(255, 107, 107, 0.1);
}
.alert-danger .mdi {
  color: #ff6b6b;
  filter: drop-shadow(0 0 10px rgba(255, 107, 107, 0.3));
}

@media (max-width: 576px) {
  .alert .mdi {
    font-size: 30px;
  }
}
/* ---------------------------------- Dot ---------------------------------- */
.dot {
  color: transparent;
  font-size: 1px;
  height: 18px;
  width: 18px;
  border-radius: 100%;
  margin: auto;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
.dot.green {
  background-color: #46D191;
  box-shadow: 0 0 20px rgba(70, 209, 145, 0.4);
}
.dot.yellow {
  background-color: #ffc107;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}
.dot.red {
  background-color: #D94F04;
  box-shadow: 0 0 20px rgba(217, 79, 4, 0.4);
}
.dot.blue {
  background-color: #4c7cf0;
  box-shadow: 0 0 20px rgba(76, 124, 240, 0.4);
}
.dot.grey {
  background-color: #8b949e;
  box-shadow: 0 0 20px rgba(139, 148, 158, 0.4);
}
.dot.orange {
  background-color: #F29325;
  box-shadow: 0 0 20px rgba(242, 147, 37, 0.4);
}
.dot.black {
  background-color: #f0f6fc;
  box-shadow: 0 0 20px rgba(240, 246, 252, 0.4);
}
.dot::after {
  background-color: rgba(255, 255, 255, 0.4);
  content: "";
  height: 60%;
  width: 40%;
  position: absolute;
  top: 4%;
  left: 15%;
  border-radius: 100%;
  transform: rotate(40deg);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------- Datatable ---------------------------------- */
.dataTables_filter {
  color: #f0f6fc !important;
}
.dataTables_filter input[type=search] {
  background: rgba(22, 27, 34, 0.8);
  border-radius: 12px;
  border: 2px solid rgba(48, 54, 61, 0.8) !important;
  text-indent: 15px;
  line-height: 40px;
  height: 40px;
  color: #f0f6fc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dataTables_filter input[type=search]::-moz-placeholder {
  opacity: 1;
  color: #6e7681;
}
.dataTables_filter input[type=search]::placeholder {
  opacity: 1;
  color: #6e7681;
}
.dataTables_filter input[type=search]:focus {
  border-color: #5865f2 !important;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(22, 27, 34, 0.95);
}
.dataTables_filter input[type=search]:hover {
  border-color: rgba(88, 101, 242, 0.6) !important;
}

.sorting_1 {
  background-color: rgba(22, 27, 34, 0.5) !important;
}

.odd {
  background-color: rgba(22, 27, 34, 0.3) !important;
}

.even {
  background-color: rgba(22, 27, 34, 0.1) !important;
}

/* ---------------------------------- Table Styling ---------------------------------- */
table {
  background: transparent;
  color: #f0f6fc;
}
table thead th {
  background: rgba(22, 27, 34, 0.8);
  color: #f0f6fc;
  border-bottom: 2px solid rgba(48, 54, 61, 0.8);
  padding: 12px 16px;
  font-weight: 600;
}
table tbody tr:nth-child(even) {
  background: rgba(22, 27, 34, 0.6);
}
table tbody tr:nth-child(odd) {
  background: rgba(22, 27, 34, 0.2);
}
table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(48, 54, 61, 0.3);
  color: #f0f6fc;
}

.table {
  background: transparent;
  color: #f0f6fc;
}
.table-striped tbody tr:nth-of-type(odd) {
  background: rgba(22, 27, 34, 0.6);
}
.table-striped tbody tr:nth-of-type(even) {
  background: rgba(22, 27, 34, 0.2);
}
.table th, .table td {
  border-color: rgba(48, 54, 61, 0.3);
  color: #f0f6fc;
}
.table thead th {
  background: rgba(22, 27, 34, 0.8);
  border-bottom: 2px solid rgba(48, 54, 61, 0.8);
  font-weight: 600;
}

/* ---------------------------------- Hover effect ---------------------------------- */
/* ---------------------------------- Buttons ---------------------------------- */
.btn {
  padding: 8px 24px;
  font-size: 14px;
  border-radius: 12px;
  border-width: 2px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3);
}
.btn-primary {
  background: rgba(88, 101, 242, 0.14);
  color: rgb(192.0966666667, 196.9933333333, 250.1033333333);
  border-color: rgba(88, 101, 242, 0.4);
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background: rgba(88, 101, 242, 0.25);
  color: rgb(211.0233333333, 214.4466666667, 251.5766666667);
  border-color: #5865f2;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.2);
}
.btn-secondary {
  background: rgba(110, 118, 129, 0.2);
  color: #f0f6fc;
  border-color: rgba(110, 118, 129, 0.4);
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
  background: rgba(110, 118, 129, 0.35);
  color: #f0f6fc;
  border-color: rgba(110, 118, 129, 0.6);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.btn-warning {
  background: rgba(255, 193, 7, 0.16);
  color: rgb(255, 215.95, 98.8);
  border-color: rgba(255, 193, 7, 0.45);
}
.btn-warning:hover, .btn-warning:active, .btn-warning:focus {
  background: rgba(255, 193, 7, 0.26);
  color: rgb(255, 223.6, 129.4);
  border-color: rgba(255, 193, 7, 0.65);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.2);
}
.btn-success {
  background: rgba(70, 209, 145, 0.18);
  color: rgb(143.5194805195, 227.2805194805, 188.7142857143);
  border-color: rgba(70, 209, 145, 0.45);
}
.btn-success:hover, .btn-success:active, .btn-success:focus {
  background: rgba(70, 209, 145, 0.28);
  color: rgb(168.025974026, 233.374025974, 203.2857142857);
  border-color: rgba(70, 209, 145, 0.6);
  box-shadow: 0 8px 20px rgba(70, 209, 145, 0.2);
}
.btn-danger {
  background: rgba(255, 107, 107, 0.16);
  color: rgb(255, 168.2, 168.2);
  border-color: rgba(255, 107, 107, 0.45);
}
.btn-danger:hover, .btn-danger:active, .btn-danger:focus {
  background: rgba(255, 107, 107, 0.26);
  color: rgb(255, 198.8, 198.8);
  border-color: rgba(255, 107, 107, 0.62);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.2);
}
.btn-small {
  padding: 6px 20px;
  font-size: 12px;
}
.btn-selected {
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
  border-color: #5865f2;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.2);
}
.btn-link {
  color: #5865f2;
  background: none;
  border: none;
  padding: 4px 8px;
  text-decoration: none;
  font-weight: normal;
  min-height: auto;
}
.btn-link:hover, .btn-link.active {
  text-decoration: none;
  color: #667eea;
  text-shadow: 0 0 8px rgba(88, 101, 242, 0.5);
  transform: none;
  box-shadow: none;
}
.btn-link:focus {
  box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.3);
}

@media (max-width: 766px) {
  .btn {
    font-size: 13px;
    padding: 6px 16px;
  }
}
/* ---------------------------------- Form Input ---------------------------------- */
.form input {
  background: rgba(22, 27, 34, 0.8);
  border-radius: 12px;
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.form input:focus {
  color: #f0f6fc;
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(22, 27, 34, 0.95);
}
.form input:hover {
  border-color: rgba(88, 101, 242, 0.6);
}

.FormInput {
  background: rgba(22, 27, 34, 0.8);
  border-radius: 12px;
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.FormInput:focus {
  color: #f0f6fc;
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(22, 27, 34, 0.95);
}
.FormInput:hover {
  border-color: rgba(88, 101, 242, 0.6);
}

.form-group {
  margin-bottom: 18px;
}

/* ---------------------------------- Input ---------------------------------- */
::-moz-placeholder {
  color: #6e7681 !important;
  opacity: 1 !important;
}
::placeholder {
  color: #6e7681 !important;
  opacity: 1 !important;
}

::-webkit-input-placeholder {
  color: #6e7681 !important;
  opacity: 1 !important;
}

:-moz-placeholder {
  color: #6e7681 !important;
  opacity: 1 !important;
}

::-moz-placeholder {
  color: #6e7681 !important;
  opacity: 1 !important;
}

:-ms-input-placeholder {
  color: #6e7681 !important;
  opacity: 1 !important;
}

input[type=button], input[type=submit] {
  border-radius: 12px;
  padding: 12px 24px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: rgba(88, 101, 242, 0.14);
  color: rgb(192.0966666667, 196.9933333333, 250.1033333333);
  border: 1px solid rgba(88, 101, 242, 0.4);
  min-height: 42px;
}
input[type=button]:hover, input[type=submit]:hover {
  background: rgba(88, 101, 242, 0.25);
  color: rgb(211.0233333333, 214.4466666667, 251.5766666667);
  border-color: #5865f2;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.2);
}

input[type=tel], input[type=email], input[type=number], input[type=text], input[type=password], input[type=search] {
  background: rgba(22, 27, 34, 0.8);
  border-radius: 12px;
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 46px;
}
input[type=tel]:focus, input[type=email]:focus, input[type=number]:focus, input[type=text]:focus, input[type=password]:focus, input[type=search]:focus {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(22, 27, 34, 0.95);
  outline: none;
}
input[type=tel]:hover, input[type=email]:hover, input[type=number]:hover, input[type=text]:hover, input[type=password]:hover, input[type=search]:hover {
  border-color: rgba(88, 101, 242, 0.6);
}
input[type=tel]::-moz-placeholder, input[type=email]::-moz-placeholder, input[type=number]::-moz-placeholder, input[type=text]::-moz-placeholder, input[type=password]::-moz-placeholder, input[type=search]::-moz-placeholder {
  color: #6e7681;
  opacity: 1;
}
input[type=tel]::placeholder, input[type=email]::placeholder, input[type=number]::placeholder, input[type=text]::placeholder, input[type=password]::placeholder, input[type=search]::placeholder {
  color: #6e7681;
  opacity: 1;
}
input[type=tel]:-webkit-autofill, input[type=email]:-webkit-autofill, input[type=number]:-webkit-autofill, input[type=text]:-webkit-autofill, input[type=password]:-webkit-autofill, input[type=search]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(22, 27, 34, 0.9) inset !important;
  -webkit-text-fill-color: #f0f6fc !important;
}
input[type=tel]:-webkit-autofill:focus, input[type=email]:-webkit-autofill:focus, input[type=number]:-webkit-autofill:focus, input[type=text]:-webkit-autofill:focus, input[type=password]:-webkit-autofill:focus, input[type=search]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(22, 27, 34, 0.95) inset !important;
  -webkit-text-fill-color: #f0f6fc !important;
}

input.focus, input:focus, input.active.focus, input.active:focus, input:active.focus, input:active:focus, input.form-control:focus, .btn.focus, .btn:focus, .btn.active.focus, .btn.active:focus, .btn:active.focus, .btn:active:focus, .btn.form-control:focus {
  border-color: #5865f2;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2) !important;
}

.form-control {
  background: rgba(22, 27, 34, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 46px;
}
.form-control:focus {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(22, 27, 34, 0.95);
}
.form-control:hover {
  border-color: rgba(88, 101, 242, 0.6);
}
.form-control:disabled, .form-control[readonly] {
  background: rgba(22, 27, 34, 0.4) !important;
  color: #6e7681 !important;
  border-color: rgba(48, 54, 61, 0.5) !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.input-group .form-control {
  background: rgba(22, 27, 34, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.input-group .form-control:focus {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}
.input-group .input-group-prepend + .form-control {
  border-radius: 0 12px 12px 0 !important;
}
.input-group .input-group-text {
  border-radius: 12px 0 0 12px !important;
  background: rgba(22, 27, 34, 0.9);
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  font-size: 12px;
  min-height: 46px;
}
.input-group .input-group-text .material-icons {
  font-size: 16px;
  color: #5865f2;
}

.input-group.vns-input-append .form-control {
  border-radius: 12px 0 0 12px !important;
  height: 46px;
}
.input-group.vns-input-append .input-group-append {
  display: flex;
}
.input-group.vns-input-append .input-group-append .input-group-text,
.input-group.vns-input-append .input-group-append .btn-toggle-password,
.input-group.vns-input-append .input-group-append .btn-copy-password {
  border-radius: 0 12px 12px 0 !important;
  height: 46px;
  min-height: 46px;
}

textarea.form-control {
  min-height: 42px;
  resize: vertical;
}

/* ---------------------------------- Checkbox ---------------------------------- */
input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: none !important;
  border: none !important;
}
input[type=checkbox]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(48, 54, 61, 0.8);
  border-radius: 4px;
  background: rgba(22, 27, 34, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
input[type=checkbox]::after {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 4px;
  transform: scale(0);
  font-size: 11px;
  color: white;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  line-height: 14px;
}
input[type=checkbox]:checked::before {
  background: linear-gradient(135deg, #5865f2, #667eea);
  border-color: #5865f2;
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}
input[type=checkbox]:checked::after {
  transform: scale(1);
}
input[type=checkbox]:hover::before {
  border-color: #5865f2;
  box-shadow: 0 0 8px rgba(88, 101, 242, 0.2);
}
input[type=checkbox]:disabled::before {
  background: rgba(48, 54, 61, 0.3) !important;
  border-color: rgba(48, 54, 61, 0.8) !important;
  cursor: not-allowed;
}
input[type=checkbox]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3);
}

/* Override any remaining browser checkbox styles */
input[type=checkbox]::-webkit-outer-spin-button, input[type=checkbox]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=checkbox]::-moz-focus-inner {
  border: 0;
}

.checkbox label {
  font-size: 16px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #f0f6fc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.checkbox label input[type=checkbox] {
  margin: 0;
  cursor: pointer;
}
.checkbox label:hover {
  color: #5865f2;
}

/* ---------------------------------- Radio ---------------------------------- */
input[type=radio] {
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
input[type=radio]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(48, 54, 61, 0.8);
  border-radius: 50%;
  background: rgba(22, 27, 34, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
input[type=radio]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
input[type=radio]:checked::before {
  background: linear-gradient(135deg, #5865f2, #667eea);
  border-color: #5865f2;
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}
input[type=radio]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}
input[type=radio]:hover::before {
  border-color: #5865f2;
  box-shadow: 0 0 8px rgba(88, 101, 242, 0.2);
}
input[type=radio]:disabled::before {
  background: rgba(48, 54, 61, 0.3) !important;
  border-color: rgba(48, 54, 61, 0.8) !important;
  cursor: not-allowed;
}
input[type=radio]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3);
}

.radio label {
  font-size: 16px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: #f0f6fc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
}
.radio label input[type=radio] {
  margin: 0;
  cursor: pointer;
}
.radio label:hover {
  color: #5865f2;
}

/* ---------------------------------- Select ---------------------------------- */
select {
  background: rgba(22, 27, 34, 0.8);
  border-radius: 12px;
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  min-height: 46px;
}
select:hover {
  border-color: rgba(88, 101, 242, 0.6);
}
select.focus, select:focus, select.active.focus, select.active:focus, select:active.focus, select:active:focus, select.form-control:focus {
  border-color: #5865f2;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2) !important;
}

.select2-container .select2-selection {
  height: 46px !important;
  background: rgba(22, 27, 34, 0.8) !important;
  border: 2px solid rgba(48, 54, 61, 0.8) !important;
  border-radius: 12px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.select2-container .select2-selection:hover {
  border-color: rgba(88, 101, 242, 0.6) !important;
}
.select2-container .select2-selection.select2-selection--single {
  padding: 8px 16px;
}
.select2-container .select2-selection.select2-selection--single .select2-selection__rendered {
  line-height: 28px !important;
  color: #f0f6fc !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.select2-container .select2-selection.select2-selection--single .select2-selection__arrow {
  top: 13px !important;
  transform: none !important;
  height: 20px !important;
  width: 20px !important;
  right: 10px !important;
}
.select2-container .select2-selection.select2-selection--single .select2-selection__arrow b {
  border-color: #f0f6fc transparent transparent transparent !important;
  border-width: 5px 4px 0 4px !important;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}
.select2-container .select2-selection.select2-selection--multiple {
  background: rgba(22, 27, 34, 0.8) !important;
  padding: 4px 8px;
}
.select2-container .select2-selection.select2-selection--multiple .select2-selection__choice {
  background: rgba(88, 101, 242, 0.2) !important;
  border: 1px solid rgba(88, 101, 242, 0.4) !important;
  color: #f0f6fc !important;
  border-radius: 4px;
}
.select2-container.select2-container--focus .select2-selection, .select2-container.select2-container--open .select2-selection {
  border-color: #5865f2 !important;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(22, 27, 34, 0.9) !important;
}

.select2-dropdown {
  background: rgba(22, 27, 34, 0.95) !important;
  border: 2px solid rgba(48, 54, 61, 0.8) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
}
.select2-dropdown .select2-results {
  background: rgba(22, 27, 34, 0.95) !important;
}
.select2-dropdown .select2-results .select2-results__options {
  background: rgba(22, 27, 34, 0.95) !important;
  max-height: 200px;
}
.select2-dropdown .select2-results .select2-results__option {
  color: #f0f6fc !important;
  padding: 12px 16px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(22, 27, 34, 0.95) !important;
}
.select2-dropdown .select2-results .select2-results__option:hover, .select2-dropdown .select2-results .select2-results__option[aria-selected=true] {
  background: rgba(88, 101, 242, 0.1) !important;
  color: #5865f2 !important;
}
.select2-dropdown .select2-results .select2-results__option--highlighted {
  background: rgba(88, 101, 242, 0.15) !important;
  color: #5865f2 !important;
}
.select2-dropdown .select2-search {
  padding: 8px;
  background: rgba(22, 27, 34, 0.95) !important;
}
.select2-dropdown .select2-search .select2-search__field {
  background: rgba(22, 27, 34, 0.8) !important;
  border: 2px solid rgba(48, 54, 61, 0.8) !important;
  color: #f0f6fc !important;
  border-radius: 12px;
  padding: 8px 12px;
}
.select2-dropdown .select2-search .select2-search__field:focus {
  border-color: #5865f2 !important;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}
.select2-dropdown .select2-search .select2-search__field::-moz-placeholder {
  color: #6e7681 !important;
}
.select2-dropdown .select2-search .select2-search__field::placeholder {
  color: #6e7681 !important;
}

.select2-selection__arrow {
  height: 46px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: linear-gradient(#5865f2, #5865f2) !important;
  color: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #6e7681 !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  color: #f0f6fc !important;
}

/* ---------------------------------- Login ---------------------------------- */
.login, .forgot {
  background: rgba(22, 27, 34, 0.95);
  border: 2px solid rgba(48, 54, 61, 0.8);
  border-radius: 12px;
  margin-top: 60px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.login-logo, .forgot-logo {
  margin: 15px 0;
  text-align: center;
}
.login-logo img, .forgot-logo img {
  max-width: 120px;
  margin: auto;
  filter: brightness(1.2);
}
.login-name, .forgot-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #5865f2;
  text-align: center;
  text-transform: uppercase;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.login h1, .forgot h1 {
  color: #f0f6fc;
  font-size: 14px;
  margin-top: 30px;
  margin-bottom: 18px;
  font-weight: 700;
  text-align: left;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.login form, .forgot form {
  margin-top: 10px;
}
.login form input, .forgot form input {
  background: rgba(22, 27, 34, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.login form input:focus, .forgot form input:focus {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}

@media (max-width: 766px) {
  .login, .forgot {
    padding: 10px;
    border: none;
    margin-top: 0px;
  }
}
/* ---------------------------------- Header ---------------------------------- */
header {
  position: relative;
  z-index: 99;
  background: rgba(22, 27, 34, 0.95);
  backdrop-filter: blur(10px);
  width: 100%;
  height: 70px;
  border-bottom: 2px solid rgba(48, 54, 61, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
header .logo {
  display: inline-block;
  padding-right: 40px;
  border-right: 2px solid rgba(48, 54, 61, 0.8);
}
header .title {
  display: inline-block;
  margin-left: 30px;
  font-size: 14px;
  color: #f0f6fc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
}
header .name {
  display: inline;
  vertical-align: middle;
  margin-right: 5px;
  color: #f0f6fc;
}
header .name-text {
  display: inline-block;
  vertical-align: middle;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
header .name-icon {
  display: inline-block;
  vertical-align: middle;
}
header .dropdown {
  display: inline-block;
  cursor: pointer;
  margin: 0;
}
header .dropdown-menu {
  background: rgba(22, 27, 34, 0.95);
  border: 2px solid rgba(48, 54, 61, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
}
header .dropdown-menu .dropdown-item {
  color: #f0f6fc;
  padding: 8px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
header .dropdown-menu .dropdown-item:hover, header .dropdown-menu .dropdown-item:active {
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
}
header .dropdown-item {
  font-size: 14px;
  color: #f0f6fc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
header .dropdown-item:hover, header .dropdown-item:active {
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
}
header .dropdown .btn-link {
  color: #8b949e;
  padding: 0;
  margin-top: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
header .dropdown .btn-link:hover {
  color: #5865f2;
  text-shadow: 0 0 8px rgba(88, 101, 242, 0.5);
}
header .dropdown-toggle.noarrow .mdi {
  font-size: 30px;
  color: #5865f2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
header .dropdown-toggle.noarrow:hover .mdi {
  color: #667eea;
  filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.5));
}
header .dropdown .mdi {
  width: 18px;
  height: 22px;
}

@media (max-width: 766px) {
  header .name {
    text-align: right;
  }
}
/* ---------------------------------- Main ---------------------------------- */
main {
  margin-top: 20px;
  min-height: calc(100vh - 235px);
}

.mdi-pencil {
  color: #5865f2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mdi-pencil:hover {
  color: #667eea;
  filter: drop-shadow(0 0 8px rgba(88, 101, 242, 0.5));
}

/* ---------------------------------- Modal ---------------------------------- */
.modal form {
  margin-top: 10px;
}
.modal form input {
  background: rgba(22, 27, 34, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.8);
  color: #f0f6fc;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal form input:focus {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}
.modal-body {
  padding-top: 30px;
}
.modal-body-nopad {
  padding-top: 0 !important;
}
.modal-content {
  padding-top: 20px;
  font-size: 14px;
  background: rgba(22, 27, 34, 0.95);
  border: 2px solid rgba(48, 54, 61, 0.8) !important;
  color: #f0f6fc !important;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.modal-content .close {
  position: absolute;
  opacity: 1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 99;
  top: -25px;
  right: -25px;
  background: rgba(22, 27, 34, 0.9);
  color: #f0f6fc;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  border: 2px solid rgba(48, 54, 61, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-content .close:hover {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  border-color: #ff6b6b;
  transform: scale(1.1);
}
.modal-content h3 {
  font-size: 20px;
  color: #f0f6fc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
}
.modal-footer {
  border-radius: 0;
  background: rgba(22, 27, 34, 0.8) !important;
  border: 2px solid rgba(48, 54, 61, 0.8);
}
.modal-footer .btn-link {
  color: #5865f2;
  padding: 0;
  margin-right: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}
.modal-footer .btn-link:hover {
  text-decoration: underline;
  color: #667eea;
  text-shadow: 0 0 8px rgba(88, 101, 242, 0.5);
}
.modal-welcome .modal-content {
  border-color: rgba(48, 54, 61, 0.8) !important;
  padding: 30px;
}
.modal-welcome .modal-content h1 {
  margin-bottom: 30px;
  color: #f0f6fc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.modal-welcome .modal-content .button {
  text-align: center;
}

@media (max-width: 766px) {
  .modal-body {
    padding-top: 10px;
  }
}
/* ---------------------------------- Card tile ---------------------------------- */
.card {
  margin-top: 30px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #f0f6fc;
  background: rgba(22, 27, 34, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.card:hover {
  transform: scale(1.025) translateY(-5px);
  box-shadow: 0 15px 35px rgba(88, 101, 242, 0.2);
  border-color: #5865f2;
}
.card:hover .card-next {
  opacity: 0.8;
  transform: scale(1.1);
}
.card-watermark {
  position: absolute;
  right: -100px;
  bottom: -180px;
  font-size: 300px;
  opacity: 0.03;
  transform: rotate(-25deg);
  color: #5865f2;
}
.card-media {
  font-size: 80px;
  color: #5865f2;
  margin-bottom: 20px;
}
.card-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #f0f6fc;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.card-text {
  font-size: 1rem;
  margin-bottom: 0;
  color: #8b949e;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.card-link {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.card-next {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #5865f2;
  border-radius: 50%;
  line-height: 1;
  padding: 0.5rem;
  background: rgba(88, 101, 242, 0.1);
  border: 2px solid rgba(88, 101, 242, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-next i {
  font-size: 1.5rem;
  color: #5865f2;
}
.card-next:hover {
  background: rgba(88, 101, 242, 0.2);
  border-color: #5865f2;
}

/* ---------------------------------- Helper ---------------------------------- */
.helper {
  color: #8b949e;
  font-size: 12px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  opacity: 0.8;
}

/* ---------------------------------- Breadcrumb ---------------------------------- */
.breadcrumb {
  color: #f0f6fc;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid rgba(48, 54, 61, 0.8);
  padding: 0 0 20px 0;
  background: transparent;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.breadcrumb a {
  color: #5865f2;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.breadcrumb a:hover {
  text-decoration: none;
  color: #667eea;
  text-shadow: 0 0 8px rgba(88, 101, 242, 0.5);
}
.breadcrumb .active {
  color: #f0f6fc;
}

/* ---------------------------------- Footer ----------------------------------  */
footer {
  font-size: 12px;
  color: #f0f6fc;
  padding: 60px 0 20px 0;
}
footer .header {
  font-size: 20px;
  font-weight: 600;
  color: #f0f6fc;
}
footer .logo {
  display: inline-table;
  vertical-align: middle;
}
footer .logo img {
  max-width: 80px;
}
footer .name {
  display: inline-table;
  vertical-align: middle;
  margin-left: 30px;
  color: #f0f6fc;
  font-size: 17px;
  font-weight: 600;
}
footer hr {
  margin-top: 30px;
  background-color: rgba(255, 255, 255, 0.3137254902);
}
footer ul {
  margin: 0;
  font-size: 14px;
}
footer ul li {
  padding-bottom: 5px;
}
footer ul li a, footer ul li a:hover {
  color: #f0f6fc;
}

@media (max-width: 766px) {
  footer {
    padding-top: 30px;
  }
  footer ul {
    margin-top: 20px;
    padding-left: 15px;
  }
  footer ul li {
    margin-left: 0px;
    padding-bottom: 5px;
  }
  footer ul li a, footer ul li a:hover {
    color: #5865f2;
  }
}
/* ---------------------------------- Users page ---------------------------------- */
.users-alert {
  margin-bottom: 20px;
}

.users-summary {
  margin: 5px 0 20px;
}
.users-summary .users-stat-card {
  background: linear-gradient(135deg, rgba(22, 27, 34, 0.92), rgba(33, 38, 45, 0.8));
  border: 2px solid rgba(48, 54, 61, 0.8);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.users-summary .users-stat-card .label {
  color: #8b949e;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.users-summary .users-stat-card .value {
  color: #f0f6fc;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 8px;
}

.users-toolbar {
  background: rgba(22, 27, 34, 0.65);
  border: 2px solid rgba(48, 54, 61, 0.75);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  gap: 14px;
}
.users-toolbar .users-toolbar-search {
  flex: 1;
  min-width: 200px;
}
.users-toolbar .users-toolbar-filter {
  flex-shrink: 0;
}
.users-toolbar .users-toolbar-filter .checkbox {
  margin: 0;
}
.users-toolbar .users-toolbar-filter label {
  font-size: 14px;
  color: #8b949e;
  margin: 0;
}
.users-toolbar .form-control {
  height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}
.users-toolbar .input-group-text {
  padding: 0 10px;
}

.users-table-wrap {
  border: 2px solid rgba(48, 54, 61, 0.75);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(22, 27, 34, 0.4);
}

.users-table {
  margin-bottom: 0;
}
.users-table thead th {
  background: rgba(33, 38, 45, 0.9);
  border-bottom-color: rgba(48, 54, 61, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 11px;
  padding: 10px 12px;
}
.users-table tbody td {
  vertical-align: middle;
  padding: 10px 12px;
  font-size: 14px;
}

.users-domain-pill {
  display: inline-block;
  border: 1px solid rgba(88, 101, 242, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  margin: 2px 5px 2px 0;
  color: #f0f6fc;
  background: rgba(88, 101, 242, 0.12);
  font-size: 12px;
}

.users-domain-pill-admin {
  border-color: rgba(70, 209, 145, 0.45);
  background: rgba(70, 209, 145, 0.15);
  color: rgb(143.5194805195, 227.2805194805, 188.7142857143);
}

.users-no-data {
  color: #6e7681;
  font-size: 13px;
  font-style: italic;
}

.users-action-btn {
  color: #8b949e !important;
  padding: 4px 8px;
}
.users-action-btn:hover {
  color: #5865f2 !important;
  transform: scale(1.07);
}
.users-action-btn .text-danger {
  color: #ff6b6b !important;
}

.users-empty-state {
  text-align: center;
  border: 2px dashed rgba(48, 54, 61, 0.9);
  border-radius: 12px;
  color: #8b949e;
  padding: 22px;
  margin-top: 14px;
}
.users-empty-state .mdi {
  color: #5865f2;
  margin-bottom: 8px;
  display: block;
}

#modalUser .modal-body-nopad,
#modalEditUser .modal-body-nopad {
  padding: 10px 26px 8px;
}
#modalUser .users-modal-header-row,
#modalEditUser .users-modal-header-row {
  margin-bottom: 6px;
}
#modalUser .users-modal-header-row h1,
#modalEditUser .users-modal-header-row h1 {
  margin-bottom: 0;
}
#modalUser .users-modal-grid > [class*=col-],
#modalEditUser .users-modal-grid > [class*=col-] {
  margin-bottom: 2px;
}
#modalUser .users-modal-domain-row,
#modalEditUser .users-modal-domain-row {
  margin-top: 4px;
}
#modalUser .users-admin-toggle-col,
#modalEditUser .users-admin-toggle-col {
  display: flex;
  align-items: center;
}
#modalUser .users-admin-toggle,
#modalEditUser .users-admin-toggle {
  margin-top: 4px;
}
#modalUser .modal-footer,
#modalEditUser .modal-footer {
  padding: 14px 24px 16px;
}

#modalChangePassword .auth-modal-body {
  padding: 14px 24px 8px;
}
#modalChangePassword .h3, #modalChangePassword h3 {
  margin-bottom: 16px;
}
#modalChangePassword .auth-modal-field {
  margin-bottom: 18px;
}
#modalChangePassword .auth-modal-field .helper {
  margin-top: 8px !important;
  margin-bottom: 0;
  display: block;
  line-height: 1.35;
}
#modalChangePassword .modal-footer {
  padding: 14px 24px 16px;
}

.users-domain-checkbox {
  margin-bottom: 8px;
}
.users-domain-checkbox label {
  font-size: 13px !important;
}
.users-domain-checkbox input[type=checkbox]:disabled::before {
  opacity: 0.45;
}

@media (max-width: 766px) {
  .users-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .users-toolbar .users-toolbar-search {
    min-width: 0;
  }
  .users-summary .users-stat-card .value {
    font-size: 24px;
  }
  .users-table td, .users-table th {
    padding: 10px 8px !important;
  }
}
/* ---------------------------------- Domain Picker ---------------------------------- */
.domain-picker {
  position: relative;
}
.domain-picker .dp-tags-wrap {
  background: rgba(22, 27, 34, 0.8);
  border: 2px solid rgba(48, 54, 61, 0.8);
  border-radius: 12px;
  padding: 8px 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: text;
  min-height: 48px;
}
.domain-picker .dp-tags-wrap:focus-within {
  border-color: #5865f2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
  background: rgba(22, 27, 34, 0.95);
}
.domain-picker .dp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.domain-picker .dp-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.45);
  border-radius: 999px;
  padding: 4px 6px 4px 10px;
  font-size: 12px;
  color: #f0f6fc;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
}
.domain-picker .dp-tag:hover {
  background: rgba(88, 101, 242, 0.28);
}
.domain-picker .dp-tag .dp-tag-remove {
  background: none;
  border: none;
  color: #6e7681;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0 2px;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.domain-picker .dp-tag .dp-tag-remove:hover {
  color: #ff6b6b;
}
.domain-picker .dp-input {
  background: none;
  border: none;
  outline: none !important;
  box-shadow: none !important;
  color: #f0f6fc;
  font-size: 14px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  flex: 1;
  min-width: 120px;
  padding: 2px 4px;
}
.domain-picker .dp-input::-moz-placeholder {
  color: #6e7681;
}
.domain-picker .dp-input::placeholder {
  color: #6e7681;
}
.domain-picker .dp-input:disabled {
  cursor: not-allowed;
}
.domain-picker .dp-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: rgba(22, 27, 34, 0.98);
  border: 2px solid rgba(88, 101, 242, 0.3);
  border-radius: 12px;
  z-index: 1050;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}
.domain-picker .dp-dropdown .dp-option {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #f0f6fc;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.domain-picker .dp-dropdown .dp-option:hover {
  background: rgba(88, 101, 242, 0.12);
  color: #5865f2;
}
.domain-picker .dp-dropdown .dp-no-results {
  padding: 10px 14px;
  color: #6e7681;
  font-size: 13px;
  font-style: italic;
}
.domain-picker.dp-disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------------------------------- Password toggle ---------------------------------- */
.btn-toggle-password {
  cursor: pointer;
  background: rgba(22, 27, 34, 0.8) !important;
  border: 2px solid rgba(48, 54, 61, 0.8) !important;
  border-left: none !important;
  color: #8b949e !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 12px;
  display: flex;
  align-items: center;
}
.btn-toggle-password:hover {
  color: #5865f2 !important;
  background: rgba(88, 101, 242, 0.08) !important;
  border-color: rgba(88, 101, 242, 0.6) !important;
}
.btn-toggle-password:focus {
  box-shadow: none !important;
  outline: none !important;
}

.input-group .form-control + .input-group-append .btn-toggle-password {
  border-radius: 0 12px 12px 0 !important;
}

.btn-copy-password {
  cursor: pointer;
  background: rgba(22, 27, 34, 0.8) !important;
  border: 2px solid rgba(48, 54, 61, 0.8) !important;
  border-left: none !important;
  color: #8b949e !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 12px;
  min-height: 42px;
  display: flex;
  align-items: center;
}
.btn-copy-password:hover {
  color: #5865f2 !important;
  background: rgba(88, 101, 242, 0.08) !important;
  border-color: rgba(88, 101, 242, 0.6) !important;
}

/* ---------------------------------- DNS type badges ---------------------------------- */
.dns-type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.dns-type-a {
  background: rgba(88, 101, 242, 0.18);
  color: rgb(206.2916666667, 210.0833333333, 251.2083333333);
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.dns-type-aaaa {
  background: rgba(100, 120, 240, 0.18);
  color: #a8b8ff;
  border: 1px solid rgba(100, 120, 240, 0.35);
}

.dns-type-cname {
  background: rgba(78, 205, 196, 0.18);
  color: rgb(165.4863436123, 229.7136563877, 225.1621145374);
  border: 1px solid rgba(78, 205, 196, 0.35);
}

.dns-type-mx {
  background: rgba(255, 123, 84, 0.18);
  color: rgb(255, 193.8631578947, 175.8);
  border: 1px solid rgba(255, 123, 84, 0.35);
}

.dns-type-txt {
  background: rgba(70, 209, 145, 0.18);
  color: rgb(159.8571428571, 231.3428571429, 198.4285714286);
  border: 1px solid rgba(70, 209, 145, 0.35);
}

.dns-type-ns {
  background: rgba(255, 193, 7, 0.18);
  color: rgb(255, 208.3, 68.2);
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.dns-type-ptr, .dns-type-srv {
  background: rgba(180, 100, 200, 0.18);
  color: #d4a8e8;
  border: 1px solid rgba(180, 100, 200, 0.35);
}

/* ---------------------------------- DNS Table ---------------------------------- */
.dns-table {
  width: 100%;
  border-collapse: collapse;
}
.dns-table th {
  background: rgba(13, 17, 23, 0.6);
  color: #8b949e;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 16px;
  border-bottom: 2px solid rgba(48, 54, 61, 0.8);
  white-space: nowrap;
}
.dns-table tr.dns-row td {
  padding: 13px 16px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(48, 54, 61, 0.4);
  color: #f0f6fc;
  font-size: 14px;
  transition: background 0.15s;
}
.dns-table tr.dns-row.odd td {
  background: transparent;
}
.dns-table tr.dns-row.even td {
  background: rgba(255, 255, 255, 0.018);
}
.dns-table tr.dns-row-edit td {
  background: rgba(13, 17, 23, 0.85) !important;
  border-top: none;
  padding: 12px 16px;
  border-bottom: 2px solid rgba(88, 101, 242, 0.2);
}
.dns-table .edit b, .dns-table .edit .dns-edit-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8b949e;
  display: block;
  margin-bottom: 6px;
  line-height: 1.2;
  min-height: 14px;
}
.dns-table .edit .form-control,
.dns-table .edit .select2-container {
  margin-top: 0;
}

/* DNS proxied badges */
.dns-proxied {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
}
.dns-proxied.on {
  background: rgba(70, 209, 145, 0.14);
  color: #46d191;
  border: 1px solid rgba(70, 209, 145, 0.28);
}
.dns-proxied.off {
  background: rgba(48, 54, 61, 0.4);
  color: #6e7681;
  border: 1px solid rgba(48, 54, 61, 0.6);
}

/* DNS action + control buttons */
.btn-dns-action {
  background: none;
  border: none;
  cursor: pointer;
  color: #6e7681;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}
.btn-dns-action:hover {
  background: rgba(88, 101, 242, 0.12);
  color: #5865f2;
}

.dns-locked {
  color: rgba(255, 193, 7, 0.7);
  font-size: 16px;
}

.btn-dns-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: #ff6b6b;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-dns-delete:hover {
  background: rgba(255, 107, 107, 0.1);
}

.btn-dns-cancel {
  background: none;
  cursor: pointer;
  border: 1px solid rgba(48, 54, 61, 0.8);
  color: #8b949e;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  height: 42px;
  line-height: 1;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.btn-dns-cancel:hover {
  border-color: #8b949e;
  color: #f0f6fc;
}

.btn-dns-save {
  background: rgba(88, 101, 242, 0.14);
  cursor: pointer;
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: rgb(192.0966666667, 196.9933333333, 250.1033333333);
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  height: 42px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  vertical-align: middle;
}
.btn-dns-save:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: #5865f2;
}

.btn-dns-save i,
.btn-dns-cancel i {
  line-height: 1;
}

.btn-dns-purge {
  background: rgba(255, 193, 7, 0.12);
  cursor: pointer;
  border: 1px solid rgba(255, 193, 7, 0.35);
  color: rgb(255, 208.3, 68.2);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-dns-purge:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: #ffc107;
  color: rgb(255, 218.5, 109);
  text-decoration: none;
}

.btn-dns-add {
  background: rgba(88, 101, 242, 0.14);
  cursor: pointer;
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: rgb(192.0966666667, 196.9933333333, 250.1033333333);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.btn-dns-add:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: #5865f2;
}

/* DNS "New record" card */
.dns-add-card {
  background: rgba(22, 27, 34, 0.65);
  border: 2px solid rgba(48, 54, 61, 0.75);
  border-radius: 12px;
  padding: 20px 24px 8px;
  margin-bottom: 24px;
}
.dns-add-card .dns-add-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dns-add-card .dns-add-header .dns-add-title {
  color: #f0f6fc;
  font-size: 14px;
  font-weight: 600;
}
.dns-add-card label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8b949e;
  margin-bottom: 6px;
  display: block;
}
.dns-add-card .dns-proxy-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0f6fc;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.dns-add-card .dns-proxy-toggle input[type=checkbox] {
  margin: 0;
}

.dns-page-actions {
  gap: 10px;
}

.dns-content-area {
  min-height: 92px;
  line-height: 1.4;
  font-family: "JetBrains Mono", "SF Mono", Monaco, "Cascadia Code", monospace;
}

.modal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-footer .btn:not(.btn-link) {
  min-height: 46px;
}

/* ---------------------------------- Auth Floating Labels ---------------------------------- */
.login .vns-floating,
.forgot .vns-floating,
#modalChangePassword .vns-floating,
#modalUser .vns-floating,
#modalEditUser .vns-floating {
  position: relative;
  margin-bottom: 20px;
}
.login .vns-floating > .form-control,
.login .vns-floating > .input-group .form-control,
.forgot .vns-floating > .form-control,
.forgot .vns-floating > .input-group .form-control,
#modalChangePassword .vns-floating > .form-control,
#modalChangePassword .vns-floating > .input-group .form-control,
#modalUser .vns-floating > .form-control,
#modalUser .vns-floating > .input-group .form-control,
#modalEditUser .vns-floating > .form-control,
#modalEditUser .vns-floating > .input-group .form-control {
  padding-top: 18px;
  padding-bottom: 8px;
}
.login .vns-floating > label,
.forgot .vns-floating > label,
#modalChangePassword .vns-floating > label,
#modalUser .vns-floating > label,
#modalEditUser .vns-floating > label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  line-height: 1;
  color: #6e7681;
  margin: 0;
  pointer-events: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}
.login .vns-floating.has-value > label, .login .vns-floating:focus-within > label,
.forgot .vns-floating.has-value > label,
.forgot .vns-floating:focus-within > label,
#modalChangePassword .vns-floating.has-value > label,
#modalChangePassword .vns-floating:focus-within > label,
#modalUser .vns-floating.has-value > label,
#modalUser .vns-floating:focus-within > label,
#modalEditUser .vns-floating.has-value > label,
#modalEditUser .vns-floating:focus-within > label {
  top: 7px;
  transform: none;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #5865f2;
}
.login .vns-floating > .helper,
.forgot .vns-floating > .helper,
#modalChangePassword .vns-floating > .helper,
#modalUser .vns-floating > .helper,
#modalEditUser .vns-floating > .helper {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  display: block;
}

.auth-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.auth-actions .btn {
  min-height: 46px;
}
.auth-actions .btn-secondary {
  background: transparent;
  border: 1px solid rgba(48, 54, 61, 0.9);
  color: #8b949e;
  font-weight: 500;
}
.auth-actions .btn-secondary:hover, .auth-actions .btn-secondary:focus {
  background: rgba(22, 27, 34, 0.55);
  border-color: rgba(88, 101, 242, 0.6);
  color: #f0f6fc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.auth-actions .btn-primary {
  font-weight: 700;
  padding-left: 28px;
  padding-right: 28px;
}

@media (max-width: 576px) {
  .auth-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .auth-actions .btn {
    width: 100%;
  }
}