:root {
  --nc-bg: #050816;
  --nc-bg-alt: #0b1021;
  --nc-surface: rgba(15, 21, 43, 0.94);
  --nc-surface-strong: rgba(10, 16, 33, 0.98);
  --nc-border: rgba(120, 139, 188, 0.22);
  --nc-text: #f3f6ff;
  --nc-muted: #a6b0d0;
  --nc-soft: #7f8bb1;
  --nc-accent: #ff4d8d;
  --nc-accent-2: #6cdd6a;
  --nc-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

body.new-coding-dark,
body.new-coding-auth {
  color: var(--nc-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.new-coding-dark {
  background:
    radial-gradient(circle at top left, rgba(255, 77, 141, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(108, 221, 106, 0.10), transparent 28%),
    linear-gradient(180deg, #03050c 0%, #050816 42%, #04060d 100%) !important;
}

body.new-coding-dark .wrapper,
body.new-coding-dark .main-panel,
body.new-coding-dark .content,
body.new-coding-dark .sidebar,
body.new-coding-dark .sidebar-wrapper {
  background: transparent !important;
}

body.new-coding-dark .navbar.navbar-transparent,
body.new-coding-dark .footer {
  background: rgba(4, 8, 18, 0.86) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--nc-border) !important;
}

body.new-coding-dark .navbar-brand,
body.new-coding-dark .navbar .nav-link,
body.new-coding-dark .navbar p,
body.new-coding-dark .navbar i,
body.new-coding-dark .footer .copyright,
body.new-coding-dark .footer .copyright a {
  color: var(--nc-text) !important;
}

body.new-coding-dark .card,
body.new-coding-dark .card.card-round,
body.new-coding-dark .card.card-stats,
body.new-coding-dark .card.card-chart,
body.new-coding-dark .card.card-user,
body.new-coding-dark .card.card-white,
body.new-coding-dark .dropdown-user {
  background: linear-gradient(145deg, rgba(20, 28, 56, 0.98), rgba(12, 18, 39, 0.98)) !important;
  border: 1px solid var(--nc-border) !important;
  box-shadow: var(--nc-shadow) !important;
  color: var(--nc-text) !important;
}

body.new-coding-dark .card .card-header,
body.new-coding-dark .card .card-body,
body.new-coding-dark .card .card-footer,
body.new-coding-dark .card .card-title,
body.new-coding-dark .card .card-category,
body.new-coding-dark .card label,
body.new-coding-dark .card p,
body.new-coding-dark .card li,
body.new-coding-dark .card strong,
body.new-coding-dark .card h1,
body.new-coding-dark .card h2,
body.new-coding-dark .card h3,
body.new-coding-dark .card h4,
body.new-coding-dark .card h5,
body.new-coding-dark .card h6 {
  color: var(--nc-text) !important;
}

body.new-coding-dark .card .card-category,
body.new-coding-dark .card .text-muted,
body.new-coding-dark .card .description,
body.new-coding-dark .card .table,
body.new-coding-dark .card .table thead th,
body.new-coding-dark .card .table tbody td,
body.new-coding-dark .card .table tbody th,
body.new-coding-dark .card .table tfoot td,
body.new-coding-dark .card .table tfoot th,
body.new-coding-dark .card .table .text-primary,
body.new-coding-dark .card .table .text-success,
body.new-coding-dark .card .table .text-info,
body.new-coding-dark .card .table .text-warning,
body.new-coding-dark .card .table .text-danger,
body.new-coding-dark .card .table .text-muted,
body.new-coding-dark .card .table a,
body.new-coding-dark .card .form-group label,
body.new-coding-dark .card .form-text,
body.new-coding-dark .card .small,
body.new-coding-dark .card .muted {
  color: var(--nc-muted) !important;
}

body.new-coding-dark .card .card-title,
body.new-coding-dark .card .card-header .card-title,
body.new-coding-dark .card .card-header h1,
body.new-coding-dark .card .card-header h2,
body.new-coding-dark .card .card-header h3,
body.new-coding-dark .card .card-header h4,
body.new-coding-dark .card .card-header h5,
body.new-coding-dark .card .card-header h6 {
  color: var(--nc-text) !important;
  letter-spacing: 0.2px;
}

body.new-coding-dark .table {
  color: var(--nc-text) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

body.new-coding-dark .table thead th {
  color: #c7d0ea !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 11px;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.new-coding-dark .table tbody td,
body.new-coding-dark .table tbody th,
body.new-coding-dark .table tfoot td,
body.new-coding-dark .table tfoot th {
  color: var(--nc-text) !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
  vertical-align: middle;
}

body.new-coding-dark .table .text-primary {
  color: var(--nc-text) !important;
}

body.new-coding-dark .table .text-success {
  color: #00f2c3 !important;
}

body.new-coding-dark .table .text-info {
  color: #5bc0ff !important;
}

body.new-coding-dark .table .text-warning {
  color: #ffd166 !important;
}

body.new-coding-dark .table .text-danger {
  color: #ff7c9b !important;
}

body.new-coding-dark .table .text-muted {
  color: var(--nc-muted) !important;
}

body.new-coding-dark .table a {
  color: #7fdcff !important;
}

body.new-coding-dark .card .table a.text-success,
body.new-coding-dark .card .table a.text-info,
body.new-coding-dark .card .table a.text-warning,
body.new-coding-dark .card .table a.text-danger,
body.new-coding-dark .card .table a.text-primary {
  color: inherit !important;
}

body.new-coding-dark .card .table a.text-success {
  color: #00f2c3 !important;
}

body.new-coding-dark .card .table a.text-info {
  color: #5bc0ff !important;
}

body.new-coding-dark .card .table a.text-warning {
  color: #ffd166 !important;
}

body.new-coding-dark .card .table a.text-danger {
  color: #ff7c9b !important;
}

body.new-coding-dark .card .table a.text-primary {
  color: var(--nc-text) !important;
}

body.new-coding-dark .card .table a.btn-icon {
  color: var(--nc-text) !important;
}

body.new-coding-dark .badge-success {
  background: linear-gradient(135deg, #00f2c3, #6cdd6a) !important;
  color: #04111c !important;
}

body.new-coding-dark .badge-warning {
  background: linear-gradient(135deg, #ffd166, #ff9f43) !important;
  color: #1d253b !important;
}

body.new-coding-dark .badge-info {
  background: linear-gradient(135deg, #5bc0ff, #1d8cf8) !important;
  color: #05111d !important;
}

body.new-coding-dark .badge-primary {
  background: linear-gradient(135deg, #ff4d8d, #ff7f53) !important;
  color: #fff !important;
}

body.new-coding-dark .btn-icon,
body.new-coding-dark .btn-icon i {
  color: var(--nc-text) !important;
}

body.new-coding-dark .card .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

body.new-coding-dark .card .card-body,
body.new-coding-dark .card .card-body p,
body.new-coding-dark .card .card-body li,
body.new-coding-dark .card .card-body span {
  line-height: 1.6;
}

body.new-coding-dark .form-control,
body.new-coding-auth .form-control {
  background: rgba(7, 12, 26, 0.92) !important;
  border: 1px solid rgba(126, 141, 181, 0.26) !important;
  color: var(--nc-text) !important;
  border-radius: 14px !important;
  min-height: 48px;
}

body.new-coding-dark .form-control::placeholder,
body.new-coding-auth .form-control::placeholder {
  color: #8d97bc !important;
}

body.new-coding-dark .form-control:focus,
body.new-coding-auth .form-control:focus {
  border-color: var(--nc-accent) !important;
  box-shadow: 0 0 0 0.15rem rgba(255, 77, 141, 0.18) !important;
}

body.new-coding-dark .dropdown-user {
  border-radius: 18px !important;
}

body.new-coding-dark .dropdown-item {
  color: var(--nc-text) !important;
}

body.new-coding-dark .dropdown-divider {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

body.new-coding-dark .badge,
body.new-coding-dark .thanks-chip {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--nc-text) !important;
}

body.new-coding-dark .profile-status-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

body.new-coding-dark .profile-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

body.new-coding-dark .profile-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f6ff !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

body.new-coding-dark .profile-status-badge .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 11px;
}

body.new-coding-dark .profile-status-badge.vip {
  background: linear-gradient(135deg, rgba(91, 192, 255, 0.24), rgba(29, 155, 240, 0.18));
  border-color: rgba(91, 192, 255, 0.42);
}

body.new-coding-dark .profile-status-badge.vip .badge-icon {
  background: rgba(91, 192, 255, 0.18);
  color: #5bc0ff;
}

body.new-coding-dark .profile-status-badge.premium {
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.22), rgba(255, 127, 83, 0.18));
  border-color: rgba(255, 77, 141, 0.30);
}

body.new-coding-dark .profile-status-badge.free {
  background: linear-gradient(135deg, rgba(126, 141, 181, 0.16), rgba(255,255,255,0.06));
}

body.new-coding-dark .profile-subcopy {
  color: var(--nc-muted) !important;
  max-width: 26rem;
  margin: 0 auto;
  line-height: 1.6;
}

body.new-coding-dark .profile-social-button {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: #f3f6ff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.new-coding-dark .profile-social-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.24);
  text-decoration: none;
}

body.new-coding-dark .profile-social-button.whatsapp {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.24), rgba(37, 211, 102, 0.12));
  border-color: rgba(37, 211, 102, 0.28);
}

body.new-coding-dark .profile-social-button.telegram {
  background: linear-gradient(135deg, rgba(29, 155, 240, 0.24), rgba(108, 221, 106, 0.12));
  border-color: rgba(29, 155, 240, 0.28);
}

body.new-coding-dark .browser-card {
  overflow: hidden;
}

body.new-coding-dark .browser-info-grid {
  display: grid;
  gap: 12px;
}

body.new-coding-dark .browser-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.new-coding-dark .browser-info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

body.new-coding-dark .browser-info-label {
  color: var(--nc-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

body.new-coding-dark .browser-info-value {
  color: var(--nc-text);
  text-align: right;
  font-weight: 700;
  word-break: break-word;
}

body.new-coding-dark .browser-info-blob {
  background: rgba(5, 9, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px;
  color: var(--nc-text);
  font-size: 12px;
  word-break: break-word;
}

body.new-coding-dark .preloader {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 77, 141, 0.22), transparent 32%),
    radial-gradient(circle at 80% 80%, rgba(108, 221, 106, 0.18), transparent 34%),
    linear-gradient(180deg, #03050c 0%, #050816 100%) !important;
}

body.new-coding-dark .preloader .loading {
  color: var(--nc-text);
  font-weight: 700;
  letter-spacing: 0.4px;
}

body.new-coding-auth {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 77, 141, 0.20), transparent 26%),
    radial-gradient(circle at top right, rgba(108, 221, 106, 0.16), transparent 24%),
    linear-gradient(160deg, #040713 0%, #060b18 46%, #03050c 100%) !important;
}

body.new-coding-auth .authincation {
  position: relative;
  min-height: 100vh;
  padding: 24px 16px;
  overflow: hidden;
}

body.new-coding-auth .authincation::before,
body.new-coding-auth .authincation::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
}

body.new-coding-auth .authincation::before {
  width: 260px;
  height: 260px;
  top: -40px;
  left: -70px;
  background: rgba(255, 77, 141, 0.22);
}

body.new-coding-auth .authincation::after {
  width: 320px;
  height: 320px;
  right: -110px;
  bottom: -80px;
  background: rgba(108, 221, 106, 0.14);
}

body.new-coding-auth .authincation-content {
  position: relative;
  background: rgba(10, 15, 30, 0.84) !important;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

body.new-coding-auth .auth-form {
  padding: 38px 34px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 77, 141, 0.7) rgba(255,255,255,0.04);
}

body.new-coding-auth .auth-form::-webkit-scrollbar {
  width: 10px;
}

body.new-coding-auth .auth-form::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
}

body.new-coding-auth .auth-form::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 77, 141, 0.75), rgba(108, 221, 106, 0.75));
  border-radius: 999px;
}

body.new-coding-auth .github-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  background: rgba(255,255,255,0.04) !important;
  color: var(--nc-text) !important;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.new-coding-auth .github-auth-btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08) !important;
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}

body.new-coding-auth .auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  color: var(--nc-muted);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

body.new-coding-auth .auth-divider::before,
body.new-coding-auth .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

body.new-coding-auth .auth-form h4,
body.new-coding-auth .auth-form p,
body.new-coding-auth .auth-form label,
body.new-coding-auth .auth-form strong,
body.new-coding-auth .auth-form a {
  color: var(--nc-text) !important;
}

body.new-coding-auth .auth-form p {
  color: var(--nc-muted) !important;
}

body.new-coding-auth .auth-form .form-group {
  margin-bottom: 18px;
}

body.new-coding-auth .btn-primary {
  background: linear-gradient(135deg, var(--nc-accent) 0%, #ff7f53 100%) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 30px rgba(255, 77, 141, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

body.new-coding-auth .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(255, 77, 141, 0.30);
}

body.new-coding-auth .btn-primary:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 77, 141, 0.18) !important;
}

body.new-coding-auth .new-account a {
  color: #ffd3e1 !important;
  font-weight: 700;
}

body.new-coding-auth .custom-control-label::before {
  background: rgba(7, 12, 26, 0.92);
  border-color: rgba(126, 141, 181, 0.28);
}

body.new-coding-auth .custom-control-input:checked ~ .custom-control-label::before {
  background: var(--nc-accent);
  border-color: var(--nc-accent);
}

body.new-coding-auth .auth-hero-copy {
  margin-top: 16px;
  color: var(--nc-muted);
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  body.new-coding-auth .auth-form {
    padding: 28px 22px;
    max-height: none;
  }

  body.new-coding-auth .authincation-content {
    max-height: calc(100vh - 20px);
  }

  body.new-coding-dark .browser-info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  body.new-coding-dark .browser-info-value {
    text-align: left;
  }
}
