/* Daurea Premium Dashboard Theme
   Rebuilt for a cleaner, more elegant, colorful, and readable UI. */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg-color: #f4f6fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.62);
  --surface-dark: rgba(17, 24, 39, 0.82);
  --surface-muted: #f7f9fc;
  --text-main: #162033;
  --text-strong: #0f172a;
  --text-sub: #61708a;
  --text-faint: #8a98af;
  --text-on-dark: #f8fbff;
  --border-color: rgba(148, 163, 184, 0.22);
  --border-strong: rgba(99, 116, 147, 0.3);
  --input-bg: rgba(255, 255, 255, 0.92);
  --primary: #3558e6;
  --primary-strong: #2745c7;
  --secondary: #ff7a59;
  --accent: #0fb6a6;
  --gold: #d6a647;
  --danger: #e34f67;
  --success: #1da86c;
  --warning: #e7a52d;
  --info: #2f7df4;
  --primary-btn: linear-gradient(135deg, #3558e6 0%, #6a7cff 55%, #7b4ef6 100%);
  --primary-btn-hover: linear-gradient(
    135deg,
    #2745c7 0%,
    #5368f3 50%,
    #6a3fe5 100%
  );
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.52);
  --glass-shadow: 0 20px 45px rgba(46, 64, 110, 0.14);
  --glass-blur: blur(20px);
  --glass-bg-dark: rgba(12, 20, 35, 0.7);
  --grad-ocean: linear-gradient(135deg, #3558e6 0%, #7b4ef6 100%);
  --grad-sky: linear-gradient(135deg, #6da9ff 0%, #b3d6ff 100%);
  --grad-mint: linear-gradient(135deg, #00b89f 0%, #57d9c3 100%);
  --grad-gold: linear-gradient(135deg, #d39a2e 0%, #f4d46f 100%);
  --grad-coral: linear-gradient(135deg, #ff7a59 0%, #ffb063 100%);
  --grad-slate: linear-gradient(135deg, #162033 0%, #304567 100%);
  --grad-aurora: linear-gradient(135deg, #4f74ff 0%, #40c6f2 48%, #7b4ef6 100%);
  --shadow-xs: 0 8px 18px rgba(40, 55, 92, 0.08);
  --shadow-sm: 0 14px 28px rgba(40, 55, 92, 0.1);
  --shadow-md: 0 22px 44px rgba(40, 55, 92, 0.14);
  --shadow-lg: 0 28px 60px rgba(40, 55, 92, 0.18);
  --shadow-focus: 0 0 0 4px rgba(53, 88, 230, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-heading: "Outfit", "Plus Jakarta Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.theme-daurea,
body {
  font-family: var(--font-body);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 0.95rem;
  line-height: 1.7;
  letter-spacing: -0.012em;
  background-color: #f8fafc;
  background-image:
    radial-gradient(
      circle at 10% 12%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 15%,
      rgba(14, 165, 233, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 82% 85%,
      rgba(244, 114, 182, 0.08) 0%,
      transparent 42%
    ),
    radial-gradient(
      circle at 15% 88%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 42%
    ),
    linear-gradient(145deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
}

::selection {
  background: rgba(99, 102, 241, 0.2);
  color: #0f172a;
}

body.login-body {
  background: linear-gradient(
    140deg,
    #f1f5f9 0%,
    #e2e8f0 50%,
    #ede9fe 100%
  ) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background-color: #f8fafc;
  background-image:
    radial-gradient(
      circle at 15% 15%,
      rgba(99, 102, 241, 0.09) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(14, 165, 233, 0.09) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(244, 114, 182, 0.07) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(59, 130, 246, 0.08) 0%,
      transparent 45%
    ),
    linear-gradient(140deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-size: 100% 100%;
  opacity: 1;
  z-index: -1;
}

.login-wrapper {
  width: 100%;
  max-width: 460px;
  padding: 1rem;
  margin: 0 auto;
  animation: floatUp 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logo-header {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(245, 248, 255, 0.9) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow:
    0 22px 44px rgba(53, 69, 112, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

.logo-header img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-modal {
  position: relative;
  padding: 34px 26px 28px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(246, 249, 255, 0.8) 58%,
    rgba(244, 248, 255, 0.88) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  box-shadow:
    0 26px 58px rgba(40, 55, 92, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.card-modal::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 210px;
  height: 210px;
  background: radial-gradient(
    circle,
    rgba(123, 78, 246, 0.16) 0%,
    transparent 72%
  );
  pointer-events: none;
}

.card-modal::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -72px;
  width: 210px;
  height: 210px;
  background: radial-gradient(
    circle,
    rgba(255, 180, 99, 0.16) 0%,
    transparent 72%
  );
  pointer-events: none;
}

.card-modal h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 1.72rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.subtitle {
  position: relative;
  z-index: 1;
  max-width: 27ch;
  margin: 0 auto 22px;
  color: #6b7892;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 500;
  text-wrap: balance;
}

.card-modal form label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6d7792;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.input-icon-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 0.9rem;
}

.input-icon-wrapper .form-control.premium-input {
  display: block;
  width: 100%;
  max-width: 100%;
}

.login-form {
  position: relative;
  z-index: 1;
  width: 100%;
}

.login-form,
.login-form * {
  box-sizing: border-box;
}

.form-control.premium-input {
  min-height: 56px;
  padding: 14px 16px 14px 44px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(248, 250, 255, 0.94) 100%
  );
  border: 1px solid rgba(122, 139, 169, 0.2);
  color: var(--text-main);
  font-size: 0.95rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  box-shadow:
    0 8px 18px rgba(100, 117, 155, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.form-control.premium-input.no-icon {
  padding-left: 18px;
}

.form-control.premium-input.has-right-icon {
  padding-right: 44px;
}

.form-control.premium-input:focus {
  background: #ffffff;
  border-color: rgba(83, 112, 255, 0.42);
  box-shadow:
    0 0 0 4px rgba(83, 112, 255, 0.14),
    0 16px 24px rgba(53, 88, 230, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.form-control.premium-input::placeholder {
  color: #97a3b8;
}

.input-icon-wrapper i.icon-left,
.input-icon-wrapper i.icon-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #90a0bb;
  z-index: 2;
}

.input-icon-wrapper i.icon-left {
  left: 14px;
  font-size: 0.95rem;
}

.input-icon-wrapper i.icon-right {
  right: 14px;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

.input-icon-wrapper:focus-within i.icon-left,
.input-icon-wrapper:focus-within i.icon-right {
  color: var(--primary);
}

.forgot-link {
  text-align: right;
  margin: 6px 0 18px;
}

.forgot-link a,
.register-link a,
a {
  color: var(--primary);
  text-decoration: none;
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

.forgot-link a {
  font-size: 0.86rem;
  font-weight: 600;
  color: #73809a;
}

.forgot-link a:hover,
.register-link a:hover,
a:hover {
  color: var(--primary-strong);
}

.register-link {
  margin-top: 18px;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.89rem;
  line-height: 1.55;
}

.register-link a {
  font-weight: 700;
}

.link-separator {
  display: inline-block;
  margin: 0 8px;
  color: #a0abc0;
}

.page-recover .subtitle {
  max-width: 30ch;
}

.signup-wrapper {
  max-width: 760px;
}

.signup-card {
  text-align: left;
}

.signup-card .subtitle {
  max-width: 44ch;
}

.signup-card .card-body,
.signup-card.card .card-body,
.signup-card.card .card-block {
  padding: 0;
}

.signup-form {
  width: 100%;
}

.signup-grid {
  margin-right: -8px;
  margin-left: -8px;
}

.signup-grid > [class*="col-"] {
  padding-right: 8px;
  padding-left: 8px;
}

.signup-form .form-group {
  margin-bottom: 0.95rem;
}

.signup-form .input-group {
  width: 100%;
}

.signup-form .input-group .form-control {
  min-width: 0;
}

.signup-form .input-group .btn {
  min-height: 56px;
  padding: 0 16px;
  border-radius: 0 18px 18px 0;
}

.signup-actions {
  margin-bottom: 0;
}

.signup-actions .register-link {
  margin-top: 16px;
}

.page-register .Messege,
.page-recover .Messege {
  position: relative;
  z-index: 1;
}

.page-tnc {
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
}

.tnc-shell {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 18px 40px;
}

.tnc-hero {
  position: relative;
  margin: 0 auto 22px;
  padding: 18px 20px 8px;
}

.tnc-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 18px;
}

.tnc-kicker {
  margin-bottom: 10px;
  color: #7a85a0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tnc-title {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.05;
  text-wrap: balance;
}

.tnc-subtitle {
  max-width: 58ch;
  margin: 0 auto;
  color: #6c7890;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
  text-wrap: balance;
}

.tnc-content {
  position: relative;
}

.tnc-content > .card {
  margin-top: 0;
  border-radius: 28px;
  overflow: hidden;
}

.tnc-content .card-header {
  padding: 20px 24px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.tnc-content .card-body {
  padding: 24px !important;
}

.tnc-content .card-block1 > p:first-child {
  margin-bottom: 18px;
  color: #6b7892;
  font-size: 0.96rem;
  line-height: 1.75;
}

.tnc-content .nav-tabs {
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  border-bottom: none;
}

.tnc-content .nav-tabs .nav-link {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #60708c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tnc-content .nav-tabs .nav-link:hover {
  background: rgba(53, 88, 230, 0.08);
  color: var(--primary-strong);
}

.tnc-content .nav-tabs .nav-link.active {
  background: var(--primary-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 24px rgba(67, 87, 208, 0.18);
}

.tnc-content .tab-content {
  padding: 0 !important;
}

.tnc-content .tab-pane h4 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.tnc-content .list-group {
  gap: 10px;
}

.tnc-content .list-group-item {
  margin-bottom: 0;
  border-radius: 16px !important;
  padding: 14px 16px !important;
  color: #33435f;
  line-height: 1.72;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tnc-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  margin-top: 20px;
}

.tnc-actions .btn {
  min-height: 54px;
  flex: 1 1 0;
  max-width: 280px;
}

.tnc-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tnc-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tnc-actions .btn i {
  margin-right: 8px;
}

.btn-dark.premium-btn {
  width: 100%;
  min-height: 56px;
  max-width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 18px;
  background: var(--primary-btn);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  box-shadow: 0 20px 34px rgba(67, 87, 208, 0.24);
}

.btn-dark.premium-btn:hover {
  background: var(--primary-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(67, 87, 208, 0.28);
}

.btn-dark.premium-btn:focus {
  box-shadow:
    0 0 0 4px rgba(83, 112, 255, 0.16),
    0 22px 38px rgba(67, 87, 208, 0.24);
}

.Messege {
  margin-top: 12px;
  width: 100%;
  font-size: 0.9rem;
}

.Messege .alert {
  margin-bottom: 14px !important;
  border-radius: 16px;
  padding: 13px 14px;
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}

small,
.small {
  color: var(--text-sub);
}

.card,
.card-modal {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(246, 249, 255, 0.78) 100%
  ) !important;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: var(--shadow-sm) !important;
}

.card {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius-sm);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md) !important;
}

.card .card-header,
.card-header {
  padding: 14px 18px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(246, 249, 255, 0.58) 100%
  ) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
  color: var(--text-main) !important;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card .card-footer,
.card-footer {
  padding: 12px 18px;
  background: rgba(250, 251, 255, 0.72) !important;
  border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
}

.card .card-block,
.card .card-body,
.modal-body {
  padding: 18px;
}

.form-control,
.custom-select,
.select2-container--default .select2-selection--single,
.input-group-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.form-control,
.custom-select,
.select2-container--default .select2-selection--single {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--text-main);
  background: var(--input-bg) !important;
  border: 1px solid rgba(122, 139, 169, 0.2) !important;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.form-control:focus,
.custom-select:focus,
.select2-container--default.select2-container--focus
  .select2-selection--single {
  background: #ffffff !important;
  color: var(--text-main);
  border-color: rgba(83, 112, 255, 0.44) !important;
  box-shadow:
    var(--shadow-focus),
    0 12px 22px rgba(53, 88, 230, 0.08) !important;
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: #96a2b8;
  font-weight: 500;
}

.form-control[disabled],
.form-control[readonly] {
  background: #edf2f8 !important;
  color: var(--text-sub);
  cursor: not-allowed;
}

.input-group .form-control {
  border-right: none !important;
}

.input-group .input-group-append .btn,
.input-group .input-group-append .input-group-text,
.input-group-text {
  border: 1px solid rgba(122, 139, 169, 0.18) !important;
  background: rgba(247, 249, 253, 0.92) !important;
  color: var(--text-sub);
}

.input-group .input-group-append .btn,
.input-group .input-group-append .input-group-text {
  border-left: none !important;
  border-radius: 0 14px 14px 0;
}

label,
.form-group label,
.form label {
  margin-bottom: 6px;
  color: #6d7792;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  box-shadow: none !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus {
  outline: none;
  box-shadow: var(--shadow-focus) !important;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-sm,
.btn-group-sm > .btn {
  padding: 7px 13px;
  font-size: 0.8rem;
  border-radius: 10px;
}

.btn-lg,
.btn-group-lg > .btn {
  padding: 13px 24px;
  font-size: 1rem;
  border-radius: 18px;
}

.white2 {
  color: #ffffff !important;
}

.btn-primary,
.btn-dark {
  color: #ffffff;
}

.btn-primary {
  background: var(--primary-btn);
  box-shadow: 0 12px 24px rgba(67, 87, 208, 0.18);
}

.btn-primary:hover {
  background: var(--primary-btn-hover);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, #18a86b 0%, #34c98a 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(24, 168, 107, 0.18);
}

.btn-danger {
  background: linear-gradient(135deg, #df5268 0%, #f5768f 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(223, 82, 104, 0.18);
}

.btn-warning {
  background: linear-gradient(135deg, #db9521 0%, #f3bd58 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(219, 149, 33, 0.18);
}

.btn-dark {
  background: linear-gradient(135deg, #162033 0%, #2a4267 100%);
  box-shadow: 0 12px 24px rgba(22, 32, 51, 0.18);
}

.btn-secondary,
.btn-default {
  background: rgba(248, 250, 255, 0.95);
  color: var(--text-main);
  border: 1px solid rgba(122, 139, 169, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-outline-primary {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(53, 88, 230, 0.26);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: rgba(53, 88, 230, 0.1);
  color: var(--primary-strong);
}

.alert {
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 13px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(27, 39, 67, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: slideDown 0.28s ease-out both;
}

.alert-dismissible {
  position: relative;
  padding-right: 46px;
}

.alert-dismissible .close,
.alert button.close,
.alert .close {
  position: absolute;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  line-height: 1;
  text-shadow: none;
  transform: translateY(-50%);
  opacity: 0.58;
  float: none;
  box-shadow: none;
}

.alert-dismissible .close:hover,
.alert button.close:hover,
.alert .close:hover {
  opacity: 0.9;
}

.alert-dismissible .close:focus,
.alert button.close:focus,
.alert .close:focus {
  outline: none;
  opacity: 1;
}

.alert-success {
  background: rgba(234, 253, 244, 0.94) !important;
  color: #167d52 !important;
  border-color: rgba(29, 168, 108, 0.18) !important;
}

.alert-danger {
  background: rgba(255, 240, 243, 0.95) !important;
  color: #b73952 !important;
  border-color: rgba(227, 79, 103, 0.2) !important;
}

.alert-warning {
  background: rgba(255, 247, 231, 0.95) !important;
  color: #a46a08 !important;
  border-color: rgba(231, 165, 45, 0.2) !important;
}

.alert-info {
  background: rgba(238, 245, 255, 0.96) !important;
  color: #245dd9 !important;
  border-color: rgba(47, 125, 244, 0.2) !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-success {
  background: rgba(29, 168, 108, 0.12);
  color: #167d52;
}

.badge-danger {
  background: rgba(227, 79, 103, 0.12);
  color: #b73952;
}

.badge-warning {
  background: rgba(231, 165, 45, 0.14);
  color: #a46a08;
}

.badge-primary {
  background: rgba(53, 88, 230, 0.12);
  color: #2543b8;
}

.badge-secondary {
  background: rgba(99, 116, 147, 0.12);
  color: #51627d;
}

.badge-dark {
  background: #1f2a3e;
  color: #ffffff;
}
.table {
  margin-bottom: 0;
  color: var(--text-main);
  /* font-size: 0.88rem; */
  border-collapse: collapse !important;
}

.table th,
.table td {
  padding: 0.52rem 0.65rem;
}

.table thead th {
  background: rgba(244, 247, 253, 0.92);
  color: #687791;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.table tbody td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: middle;
}

.table tbody tr {
  transition:
    background 0.16s ease,
    transform 0.16s ease;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.64);
}

.table-bordered {
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.table-bordered td,
.table-bordered th,
table.dataTable {
  border-collapse: collapse !important;
}

.dropdown-menu {
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow: 0 22px 42px rgba(34, 48, 82, 0.16) !important;
  font-size: 0.9rem;
  z-index: 9999 !important;
  animation: scaleIn 0.18s ease-out both;
  transform-origin: top left;
}

.dropdown-item {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-main);
  font-weight: 600;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(53, 88, 230, 0.08) !important;
  color: var(--primary-strong);
  transform: translateX(2px);
}

.modal-content {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(246, 250, 255, 0.82) 100%
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(34, 48, 82, 0.18) !important;
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
}

.modal.fade .modal-dialog {
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
  transform: translateY(-10px) scale(0.97);
}

.modal.show .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header,
.modal-footer {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.42) !important;
  border-color: rgba(148, 163, 184, 0.15) !important;
}

.modal-header {
  border-radius: 24px 24px 0 0;
}

.modal-footer {
  border-radius: 0 0 24px 24px;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
}

.nav-tabs {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  gap: 0.25rem;
}

.nav-tabs .nav-link {
  border: none;
  margin-bottom: -1px;
  padding: 10px 16px;
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 14px 14px 0 0;
}

.nav-tabs .nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.58);
}

.nav-tabs .nav-link.active {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 2px solid rgba(53, 88, 230, 0.55);
}

.nav-pills .nav-link {
  border-radius: 999px;
  color: var(--text-main);
  font-weight: 700;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: var(--primary-btn) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(67, 87, 208, 0.16);
}

.pagination .page-link {
  min-width: 38px;
  margin: 0 3px;
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: rgba(255, 255, 255, 0.75) !important;
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
}

.pagination .page-link:hover {
  background: #ffffff !important;
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background: var(--primary-btn) !important;
  border-color: transparent !important;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(67, 87, 208, 0.18);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(227, 233, 244, 0.64);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(111, 130, 200, 0.7) 0%,
    rgba(88, 105, 170, 0.9) 100%
  );
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(83, 112, 255, 0.88) 0%,
    rgba(88, 67, 210, 0.95) 100%
  );
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
}

.glass-dark {
  background: var(--glass-bg-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  border-radius: var(--radius-md);
  color: var(--text-on-dark);
}

.card.glass {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

.bg-grad-ocean {
  background: var(--grad-ocean) !important;
  color: #fff;
}
.bg-grad-sky {
  background: var(--grad-sky) !important;
  color: var(--text-strong);
}
.bg-grad-mint {
  background: var(--grad-mint) !important;
  color: #fff;
}
.bg-grad-gold {
  background: var(--grad-gold) !important;
  color: #1f2a3e;
}
.bg-grad-coral {
  background: var(--grad-coral) !important;
  color: #fff;
}
.bg-grad-slate {
  background: var(--grad-slate) !important;
  color: #fff;
}
.bg-grad-aurora {
  background: var(--grad-aurora) !important;
  color: #fff;
}

.btn-grad-ocean,
.btn-grad-mint,
.btn-grad-coral,
.btn-grad-gold,
.btn-grad-slate {
  border: none;
  box-shadow: 0 14px 26px rgba(38, 52, 90, 0.16);
}

.btn-grad-ocean {
  background: var(--grad-ocean);
  color: #fff;
}
.btn-grad-mint {
  background: var(--grad-mint);
  color: #fff;
}
.btn-grad-coral {
  background: var(--grad-coral);
  color: #fff;
}
.btn-grad-gold {
  background: var(--grad-gold);
  color: #1f2a3e;
}
.btn-grad-slate {
  background: var(--grad-slate);
  color: #fff;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 18px 34px rgba(35, 47, 82, 0.16);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.stat-card::before,
.stat-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.stat-card::before {
  top: -34px;
  right: -28px;
  width: 132px;
  height: 132px;
}

.stat-card::after {
  left: -24px;
  bottom: -24px;
  width: 92px;
  height: 92px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 40px rgba(35, 47, 82, 0.2);
}

.nav-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.nav-action-btn i {
  font-size: 1.08rem;
  color: #566781;
}

.nav-action-btn:hover {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-main);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.nav-action-btn.dropdown-toggle::after {
  display: none;
}
.nav-action-group .nav-action-btn:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.nav-action-group .nav-action-btn:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.app-sidebar,
.off-canvas-sidebar {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.74) 0%,
    rgba(245, 248, 255, 0.64) 100%
  ) !important;
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  border-right: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 8px 0 28px rgba(34, 48, 82, 0.08) !important;
}

.app-sidebar .navigation li > a,
.off-canvas-sidebar .navigation li > a {
  padding: 8px 30px 8px 14px;
  border-radius: 14px;
  color: #354763;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.app-sidebar .navigation li > a:hover,
.off-canvas-sidebar .navigation li > a:hover,
.app-sidebar .navigation li.active > a,
.off-canvas-sidebar .navigation li.active > a {
  background: rgba(53, 88, 230, 0.1);
  color: var(--primary-strong);
  transform: translateX(2px);
}

.app-sidebar .navigation li ul li a,
.off-canvas-sidebar .navigation li ul li a {
  display: block;
  padding: 6px 18px 6px 58px;
  border-radius: 12px;
  font-size: 0.84rem;
  color: #50627e;
}

.list-group-item {
  background: rgba(255, 255, 255, 0.68) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px);
  transition:
    background 0.16s ease,
    transform 0.16s ease;
}

.list-group-item:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-1px);
}

.popover {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 18px 34px rgba(34, 48, 82, 0.12) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.popover-header {
  background: rgba(248, 250, 255, 0.86) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
}

.tglass {
  background-color: transparent !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.myglass {
  background: linear-gradient(
    135deg,
    rgba(36, 49, 86, 0.45),
    rgba(143, 161, 214, 0.22)
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bg-glass1 {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(245, 248, 255, 0.96) 100%
  );
  box-shadow: 0 10px 24px rgba(33, 47, 82, 0.12);
}

.MACTIVE,
.MRED,
.ACHIEVED,
.ACHIVED,
.TRANSFERRED,
.REJECTED,
.RUNNING,
.APPROVED {
  /* display: inline-flex; */
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  /* font-size: 0.72rem; */
  /* font-weight: 800; */
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.MACTIVE {
  background: rgba(29, 168, 108, 0.14);
  color: #167d52;
}

.MRED {
  background: rgba(227, 79, 103, 0.14);
  color: #b73952;
}

.RUNNING {
  background: linear-gradient(
    135deg,
    rgba(231, 165, 45, 0.18) 0%,
    rgba(255, 122, 89, 0.16) 100%
  ) !important;
  color: #a96811;
}

.panel-link,
.panel-link-silver,
.show-link {
  display: inline-block;
  margin: 1px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.panel-link {
  padding: 4px 10px;
  background: linear-gradient(135deg, #233459 0%, #3558e6 100%);
  color: #fff;
  box-shadow: 0 10px 18px rgba(35, 52, 89, 0.14);
}

.panel-link:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.02);
}

.panel-link-silver {
  padding: 4px 10px;
  background: rgba(244, 247, 253, 0.96);
  color: #43546f;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.show-link {
  padding: 4px 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #43546f;
}

.mark-link::before {
  content: "⛓";
  margin-right: 4px;
}

.mark-link:hover {
  background: rgba(53, 88, 230, 0.1);
  color: var(--primary-strong);
  border-radius: 8px;
  padding: 2px 6px;
}

.shadowfilter {
  -webkit-filter: drop-shadow(2px 6px 10px rgba(33, 47, 82, 0.12));
  filter: drop-shadow(2px 6px 10px rgba(33, 47, 82, 0.12));
}

.noshadow {
  box-shadow: none !important;
}

.allrounded *,
.allrounded > * {
  border-radius: 10px !important;
}

.rounded11 {
  border-radius: 11px !important;
}
.media {
  line-height: 1.4em;
}

.page-header {
  height: unset;
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

form .form-section {
  margin-bottom: 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--text-strong);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 2rem;
}

.pop:hover {
  transform: scale(1.08);
  z-index: 99;
  border-radius: 8px !important;
  transition: transform 0.15s ease;
}

.pop_spin:hover i {
  animation: spin 0.25s linear 2;
}

.block_mob {
  width: 100%;
  display: block;
  text-transform: uppercase;
}

.block_mob2 {
  width: 50%;
  display: block;
  float: left;
}

.razorpay-payment-button {
  width: 100%;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #2745c7 0%, #00b89f 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(39, 69, 199, 0.2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.razorpay-payment-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.01);
  box-shadow: 0 22px 36px rgba(39, 69, 199, 0.24);
}

.anim-fade-in {
  animation: fadeIn 0.35s ease-out both;
}
.anim-slide-up {
  animation: slideUp 0.42s ease-out both;
}
.anim-slide-down {
  animation: slideDown 0.35s ease-out both;
}
.anim-scale-in {
  animation: scaleIn 0.28s ease-out both;
}
.delay-1 {
  animation-delay: 0.05s;
}
.delay-2 {
  animation-delay: 0.1s;
}
.delay-3 {
  animation-delay: 0.15s;
}
.delay-4 {
  animation-delay: 0.2s;
}
.delay-5 {
  animation-delay: 0.25s;
}

.skeleton {
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(239, 243, 251, 0.9) 25%,
    rgba(223, 230, 244, 0.95) 50%,
    rgba(239, 243, 251, 0.9) 75%
  );
  background-size: 420px 100%;
  animation: shimmer 1.3s infinite linear;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -420px 0;
  }
  100% {
    background-position: 420px 0;
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media all and (max-width: 991px) {
  .app-sidebar,
  .off-canvas-sidebar {
    background: rgba(250, 252, 255, 0.92) !important;
  }
}

@media all and (max-width: 767px) {
  body.theme-daurea,
  body {
    font-size: 0.92rem;
  }

  .card-modal {
    padding: 28px 20px 22px;
    border-radius: 24px;
  }

  .card-modal h2 {
    font-size: 1.5rem;
  }

  .signup-wrapper {
    max-width: 520px;
  }

  .signup-card .subtitle {
    max-width: 30ch;
  }

  .tnc-shell {
    padding: 18px 12px 28px;
  }

  .tnc-content .card-header,
  .tnc-content .card-body {
    padding: 18px !important;
  }

  .tnc-content .nav-tabs .nav-link {
    padding: 9px 14px;
    font-size: 0.76rem;
  }

  .nav-action-btn {
    min-width: 38px;
    height: 38px;
  }
}

@media all and (max-width: 480px) {
  .login-wrapper {
    padding: 0.35rem;
  }

  .signup-grid {
    margin-right: -6px;
    margin-left: -6px;
  }

  .signup-grid > [class*="col-"] {
    padding-right: 6px;
    padding-left: 6px;
  }

  .signup-card .card-body,
  .signup-card.card .card-body,
  .signup-card.card .card-block {
    padding: 0 !important;
  }

  .tnc-title {
    font-size: 1.8rem;
  }

  .tnc-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .tnc-actions {
    flex-direction: column-reverse;
  }

  .tnc-actions .btn {
    max-width: none;
    width: 100%;
  }

  .tnc-content .card-body {
    padding: 18px !important;
  }

  /* .card .card-block,
    .card .card-body {
        padding: 0.75rem !important;
    } */

  .container-fluid {
    padding-right: 10px;
    padding-left: 10px;
  }

  .row {
    margin-right: -6px;
    margin-left: -6px;
  }

  .navbar {
    padding: 0 10px;
  }

  .content-wrapper {
    padding: 12px;
  }

  .block_mob2 {
    width: 100%;
    float: none;
  }
}

/* ==========================================================================
   POLISHED LOGIN PAGE & SIDEBAR ENHANCEMENTS
   ========================================================================== */

/* --- Polished Login Page --- */
.login-body {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(99, 102, 241, 0.18) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(244, 63, 94, 0.14) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 85%,
      rgba(14, 165, 233, 0.15) 0%,
      transparent 45%
    ),
    linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%) !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-body .bg-overlay {
  background: transparent !important;
}

.login-body .card-modal {
  background: rgba(30, 41, 59, 0.82) !important;
  backdrop-filter: blur(28px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(99, 102, 241, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px !important;
  padding: 40px 32px 34px !important;
}

.login-body .card-modal h2 {
  color: #ffffff !important;
  font-size: 1.85rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 8px !important;
}

.login-body .card-modal .subtitle {
  color: #94a3b8 !important;
  font-size: 0.92rem !important;
  margin-bottom: 24px !important;
}

.login-body .logo-header {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
  border-radius: 24px !important;
  width: 88px !important;
  height: 88px !important;
  margin-bottom: 20px !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.login-body .logo-header:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4) !important;
}

.login-body .form-control.premium-input {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  min-height: 52px !important;
  font-size: 0.95rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.login-body .form-control.premium-input::placeholder {
  color: #64748b !important;
}

.login-body .form-control.premium-input:focus {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: #6366f1 !important;
  box-shadow:
    0 0 0 4px rgba(99, 102, 241, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-2px);
}

.login-body .input-icon-wrapper i.icon-left {
  color: #64748b !important;
  font-size: 1.05rem !important;
  left: 16px !important;
  transition: color 0.2s ease;
}

.login-body .input-icon-wrapper i.icon-right {
  color: #64748b !important;
  font-size: 1.05rem !important;
  right: 16px !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

.login-body .input-icon-wrapper:focus-within i.icon-left,
.login-body .input-icon-wrapper:focus-within i.icon-right {
  color: #818cf8 !important;
}

.login-body .forgot-link a {
  color: #818cf8 !important;
  font-weight: 500;
  font-size: 0.88rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-block;
}

.login-body .forgot-link a:hover {
  color: #a5b4fc !important;
  transform: translateX(-2px);
  text-decoration: none;
}

.login-body .btn-dark.premium-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 14px !important;
  min-height: 52px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
  margin-top: 10px !important;
  width: 100%;
}

.login-body .btn-dark.premium-btn:hover {
  background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%) !important;
  box-shadow:
    0 14px 30px rgba(79, 70, 229, 0.55),
    0 0 20px rgba(99, 102, 241, 0.3) !important;
  transform: translateY(-2px);
}

.login-body .btn-dark.premium-btn:active {
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3) !important;
}

.login-body .Messege {
  margin-top: 18px !important;
}

.login-body .Messege .alert {
  border-radius: 14px !important;
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  background: rgba(239, 68, 68, 0.15) !important;
  color: #fca5a5 !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
  animation: alertPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-body .Messege .alert.alert-success {
  border-color: rgba(34, 197, 94, 0.3) !important;
  background: rgba(34, 197, 94, 0.15) !important;
  color: #86efac !important;
}

@keyframes alertPop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-body .register-link {
  margin-top: 24px !important;
  color: #94a3b8 !important;
  font-size: 0.92rem !important;
}

.login-body .register-link a {
  color: #818cf8 !important;
  font-weight: 600 !important;
  margin-left: 4px;
  transition: color 0.2s ease;
}

.login-body .register-link a:hover {
  color: #a5b4fc !important;
  text-decoration: underline;
}

/* --- Polished Sidebar Navigation --- */
.app-sidebar,
.off-canvas-sidebar {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(24px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.8) !important;
  border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 4px 0 25px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.app-sidebar .sidebar-header {
  padding: 18px 20px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
}

.app-sidebar .sidebar-header .logo-text {
  color: #0f172a !important;
  font-family: var(--font-heading) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.app-sidebar .sidebar-header .logo-img img {
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1) !important;
}

.app-sidebar .navigation {
  padding: 12px 10px !important;
}

.app-sidebar .navigation li {
  margin-bottom: 4px !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
}

.app-sidebar .navigation li > a {
  color: #334155 !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.app-sidebar .navigation li > a i {
  font-size: 1.15rem !important;
  margin-right: 12px !important;
  color: #64748b !important;
  transition: all 0.2s ease !important;
}

.app-sidebar .navigation li:hover > a {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  transform: translateX(4px) !important;
}

.app-sidebar .navigation li:hover > a i {
  color: #4f46e5 !important;
  transform: scale(1.1);
}

.app-sidebar .navigation li.active > a,
.app-sidebar .navigation li.open > a {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25) !important;
}

.app-sidebar .navigation li.active > a i,
.app-sidebar .navigation li.open > a i {
  color: #ffffff !important;
}

.app-sidebar .navigation li.has-sub ul.menu-content {
  background: #f8fafc !important;
  border-radius: 10px !important;
  margin: 4px 6px !important;
  padding: 6px 0 !important;
  border-left: 2px solid #4f46e5 !important;
}

.app-sidebar .navigation li ul.menu-content li a {
  padding: 8px 16px 8px 20px !important;
  color: #475569 !important;
  font-size: 0.875rem !important;
  border-radius: 8px !important;
  margin: 2px 6px !important;
  transition: all 0.2s ease !important;
}

.app-sidebar .navigation li ul.menu-content li a:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
  transform: translateX(3px) !important;
}

.app-sidebar .sidebar-content::-webkit-scrollbar {
  width: 5px;
}

.app-sidebar .sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.app-sidebar .sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 10px;
}

.app-sidebar .sidebar-content::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.5);
}

/* ==========================================================================
   Global DataTables & Modern Table Design System
   ========================================================================== */

.dataTables_wrapper {
  padding: 12px 4px 6px 4px !important;
  font-family: inherit !important;
  width: 100% !important;
}

.dataTables_wrapper .dataTables_length {
  margin-bottom: 12px !important;
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 0.86rem !important;
}

.dataTables_wrapper .dataTables_length select {
  padding: 6px 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.dataTables_wrapper .dataTables_length select:focus {
  border-color: #0b47a1 !important;
  box-shadow: 0 0 0 3px rgba(11, 71, 161, 0.12) !important;
  background-color: #ffffff !important;
}

.dataTables_wrapper .dataTables_filter {
  margin-bottom: 12px !important;
  color: #475569 !important;
  font-weight: 600 !important;
  font-size: 0.86rem !important;
}

.dataTables_wrapper .dataTables_filter input {
  padding: 7px 14px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  min-width: 200px !important;
  box-shadow: none !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: #0b47a1 !important;
  box-shadow: 0 0 0 3px rgba(11, 71, 161, 0.12) !important;
  background-color: #ffffff !important;
}

/* Global DataTable Grid & Modern Tables */
table.dataTable,
.table-bordered,
#dataTables-example {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  width: 100% !important;
  margin-top: 6px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03) !important;
}

table.dataTable thead th,
.table thead th,
#dataTables-example thead th {
  background: #f8fafc !important;
  color: #334155 !important;
  /* font-size: 0.75rem !important; */
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  border-top: none !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  border-left: none !important;
  border-right: none !important;
  /* padding: 12px 14px !important; */
  vertical-align: middle !important;
}

table.dataTable tbody tr,
.table tbody tr,
#dataTables-example tbody tr {
  transition: background-color 0.15s ease !important;
}

table.dataTable tbody tr:hover,
.table tbody tr:hover,
#dataTables-example tbody tr:hover {
  background-color: #f8fafc !important;
}

table.dataTable tbody tr:nth-of-type(even),
.table-striped tbody tr:nth-of-type(even),
#dataTables-example tbody tr:nth-of-type(even) {
  background-color: #fafbfc !important;
}

table.dataTable tbody td,
.table tbody td,
#dataTables-example tbody td {
  /* padding: 11px 14px !important; */
  vertical-align: middle !important;
  border-top: 1px solid #f1f5f9 !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  color: #1e293b !important;
  /* font-size: 0.88rem !important; */
}

/* Global Pagination & Info */
.dataTables_wrapper .dataTables_info {
  color: #64748b !important;
  font-weight: 600 !important;
  font-size: 0.84rem !important;
  padding-top: 10px !important;
}

.dataTables_wrapper .dataTables_paginate {
  padding-top: 8px !important;
}

.dataTables_wrapper .dataTables_paginate ul.pagination {
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  gap: 4px !important;
}

.dataTables_wrapper .dataTables_paginate span {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Reset outer containers to eliminate double background / double border */
.dataTables_wrapper .dataTables_paginate li.paginate_button,
.dataTables_wrapper .dataTables_paginate li.page-item,
.dataTables_wrapper .dataTables_paginate div.paginate_button {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Style single clickable page button */
.dataTables_wrapper .dataTables_paginate .page-link,
.dataTables_wrapper .dataTables_paginate a.paginate_button,
.dataTables_wrapper .dataTables_paginate span.paginate_button:not(.page-item) {
  border-radius: 9px !important;
  padding: 6px 14px !important;
  margin: 0 2px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
}

.dataTables_wrapper .dataTables_paginate .page-link:hover,
.dataTables_wrapper .dataTables_paginate a.paginate_button:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate a.paginate_button.current,
.dataTables_wrapper .dataTables_paginate a.paginate_button.current:hover {
  background: linear-gradient(135deg, #0b47a1 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  border-color: #0b47a1 !important;
  font-weight: 800 !important;
  box-shadow: 0 3px 10px rgba(11, 71, 161, 0.28) !important;
}

.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link,
.dataTables_wrapper .dataTables_paginate a.paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate a.paginate_button.disabled:hover {
  opacity: 0.45 !important;
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}
