/* wwwroot/css/login.css */


html,
body {
 height: 100%;
 margin: 0;
}


/* html,
body {
 height: 100%;
 margin: 0;
 background: radial-gradient(
     1200px 600px at 50% -20%,
     rgba(124, 92, 255, 0.2),
     transparent 60%
   ),
   linear-gradient(180deg, #09051d 0%, #0c0824 40%, #070318 100%);
} */


/* Center the login form on the page */
.login-container {
 display: flex;
 justify-content: center;
 align-items: center;
 /* height: 75vh; */
 width: 100%;
 max-width: 960px;
 margin: auto;
 /* background: linear-gradient(135deg, #7e6fff, #4a86ff); */
}


/* Style the MudForm */
.login-form {
 /* width: 100%; */
 /* max-width: 600px; */
 max-width: 980px;
 margin: auto;
 padding: 24px;
 padding: 2rem;
 border-radius: 12px;
 /* background-color: rgba(255, 255, 255, 0.95); */
 background: linear-gradient(
   180deg,
   rgba(255, 255, 255, 0.04),
   rgba(255, 255, 255, 0.015)
 );


 backdrop-filter: blur(10px);
 -webkit-backdrop-filter: blur(10px);
 /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); */
 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 80px rgba(124, 92, 255, 0.25);
 border: 1px solid rgba(140, 120, 255, 0.15);
}


.login-form:hover {
 box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65),
   0 0 120px rgba(124, 92, 255, 0.35);
}


/* Center the header */
.login-form .mud-typography {
 text-align: center;
}


/* Full width buttons */
.login-form .mud-button {
 width: 100%;
}


/* Optional: style input fields */
.login-form .mud-text-field {
 margin-bottom: 1rem;
}


.login-button {
 height: 52px;
 border-radius: 10px;
 font-weight: 600;
 letter-spacing: 0.04em;
 background: linear-gradient(135deg, #7c5cff, #591888) !important;
}


.login-button:hover {
 filter: brightness(1.08);
}
.login-logo-container {
 text-align: center;
 margin-bottom: 20px; /* reduced from 1rem to 0.5rem */
}


.button-next {
 height: 52px;
 border-radius: 10px;
 font-weight: 600;
 letter-spacing: 0.04em;
 background: linear-gradient(135deg, #826ae5, #8e44c3) 
}

.button-back {
    height: 52px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #e19191, #8b1f1f); /* no !important */
}


.login-title {
 font-size: 28px;
 font-weight: 700; /* bold */
 margin: 0;
 /* color: #110e2d;  */
 /* or your theme color */
}


.login-subtitle {
 font-size: 16px;
 font-weight: 400; /* normal */
 margin-top: 8px;
 /* color: #555; */
 /* softer text */
}


.login-logo {
 max-width: 140px;
 height: auto;
}


/* Remove top spacing from the first MudTextField */
.mud-input-control:first-of-type {
 margin-top: 0 !important;
}


.mud-input-root {
 border-radius: 8px !important;
}


/* Make the whole page a full-height column layout */
.page-container {
 display: flex;
 flex-direction: column;
 min-height: 100vh;
}


.main-content {
 flex: 1; /* takes up remaining space between header and footer */
 padding: 16px;
}


.header-appbar {
 background-color: #581c87 !important;
 z-index: 1100; /* ensures it sits above the drawer */
}


.layout-container {
 display: flex;
 flex-direction: column;
 min-height: 100vh; /* Full viewport height */
}


/* Header */
.login-header {
 background-color: #581c87;
 padding: 20px;
 text-align: center;
}


.header-logo {
 height: 60px;
}


/* Main content expands to fill leftover space */
.login-main {
 flex: 1;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 32px;


 background: transparent;
}


/* Footer always sits at bottom */
.login-footer {
 background-color: #581c87;
 color: white;
 padding: 15px;
 text-align: center;
 width: 100%;
}


/* Make border darker on hover */
.mud-input-outlined:hover .mud-input-outlined-border {
 /* border-color: rgba(0, 0, 0, 0.6) !important; */
 border-color: rgba(140, 120, 255, 0.45);
}


.mud-input-outlined .mud-input-outlined-border {
 /* border-color: #7e6fff !important;
 opacity: 1 !important; */
 border-color: #8b7cff !important;
 box-shadow: 0 0 0 2px rgba(124, 92, 255, 0.25);
}


.mud-select svg {
 color: #b8a9ff;
}


.dashboard-card {
 border-radius: 16px;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
 transition: transform 0.2s ease;
 height: 360px;
 display: flex;
 flex-direction: column;
}


.dashboard-card:hover {
 transform: translateY(-4px);
}


.elevated-card {
 border-radius: 12px;
 box-shadow: rgba(0, 0, 0, 0.15) 0 4px 12px;
}


.card-bar {
 height: 8px;
 border-radius: 12px 12px 0 0;
}


.green-bar {
 background: #4caf50;
}
.red-bar {
 background: #f44336;
}
.orange-bar {
 background: #ff9800;
}
.teal-bar {
 background: #0097a7;
}


.small-stat-card {
 border-radius: 12px;
 padding: 8px;
}


.small-icon {
 width: 45px;
 height: 45px;
 border-radius: 8px;
 display: flex;
 align-items: center;
 justify-content: center;
}


.orange-bg {
 background: #ff9800;
}
.green-bg {
 background: #4caf50;
}
.red-bg {
 background: #f44336;
}
.teal-bg {
 background: #0097a7;
}


.dashboard-header {
 background-color: #010967bb;
 border-radius: 8px;
 color: white;
}
.compact-calendar-container {
 max-height: 300px; /* Your card height */
 overflow-y: auto;
}


.custom-header {
 background-color: #581c87;
 /* color: white;  Makes the text readable */
}


.custom-footer {
 background-color: #581c87;
 /* color: white; */
}


.custom-row:hover {
 background-color: #7a3bbf; /* slightly lighter purple */
 /* color: white; */
}


.search-box {
 width: 100px;
}


.pending-btn {
 /* border-radius: 10px;
 width: 20px;
 height: 52px;
 /* font-size: 11px; */
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center; */


 height: 52px;
 border-radius: 10px;
 font-weight: 600;
 letter-spacing: 0.04em;
 background: linear-gradient(135deg, #c65c06, #fd7e14) !important;


 /* transition: background-color 0.3s ease, transform 0.2s ease; */
}

.all-button {
 height: 52px;
 border-radius: 10px;
 font-weight: 600;
 letter-spacing: 0.04em;
 background: linear-gradient(135deg, #7c5cff, #591888) !important;
}


.all-button:hover {
 filter: brightness(1.08);
}


.pending-btn:hover {
 background-color: #e8590c; /* Darker orange on hover */
 transform: scale(1.05);
}


.completed-btn {
 background-color: #28a745; /* Bootstrap green */
 color: white;
 border: none;
 border-radius: 50%;
 width: 20px;
 height: 20px;
 font-size: 11px;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: background-color 0.3s ease, transform 0.2s ease;
}


.completed-btn:hover {
 background-color: #1e7e34; /* Darker green on hover */
 transform: scale(1.05);
}


.edit-btn {
 background-color: #692c74;
 color: white;
 border: none;
 border-radius: 50%;
 width: 20px;
 height: 20px;
 font-size: 11px;
 cursor: pointer;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: background-color 0.3s ease, transform 0.2s ease;
}


.edit-btn:hover {
 background-color: #4f1f5b;
 transform: scale(1.05);
}


.scroll-top-btn {
 position: fixed;
 bottom: 25px;
 right: 25px;
 z-index: 9999;
 transition: opacity 0.3s ease-in-out;
}



.register-card {
 max-width: 780px;
 margin: auto;
 border-radius: 18px;
}


.tile-input input {
 height: 64px;
 text-align: center;
 font-size: 16px;
 font-weight: 500;
}


.tile-input .mud-input-control {
 border-radius: 10px;
}


.register-button {
 height: 56px;
 border-radius: 14px;
 font-size: 16px;
 font-weight: 600;
}


/* Apply ONLY when MudBlazor dark theme is active */
.mud-theme-dark {
 background: radial-gradient(
   ellipse at top,
   #1b144f 0%,
   #120b3a 45%,
   #0a0822 100%
 ) !important;
 background-attachment: fixed;
 color: #ffffff !important;
}


/* Optional: also style the MudLayout root */
.mud-theme-dark .mud-main-content {
 background: radial-gradient(
   ellipse at top,
   #1b144f 0%,
   #120b3a 45%,
   #0a0822 100%
 ) !important;
}


/* Custom DARK MODE background wrapper */
.custom-dark-background {
 background: radial-gradient(
   ellipse at top,
   #1b144f 0%,
   #120b3a 45%,
   #0a0822 100%
 ) !important;
 background-attachment: fixed;
 min-height: 100vh;
 color: #ffffff !important;
 transition: background 0.4s ease-in-out;
}


.theme-toggle {
 position: fixed;
 top: 15px;
 right: 15px;
 z-index: 2000;
 background: rgba(255, 255, 255, 0.1);
 border-radius: 50%;
 backdrop-filter: blur(6px);
}


.theme-toggle:hover {
 background: rgba(255, 255, 255, 0.2);
}


.text-black {
 color: #b71ab7 !important;
 
}


.text-black::placeholder {
 color: #000 !important;
 opacity: 1 !important; /* override the faded default */

}


/* vendor prefixes for older browsers (optional) */
.text-black::-webkit-input-placeholder {
 color: #000 !important;
 opacity: 1 !important;

}
.text-black::-moz-placeholder {
 color: #000 !important;
 opacity: 1 !important;

}
.text-black:-ms-input-placeholder {
 color: #000 !important;
 opacity: 1 !important;
}
.text-black:-moz-placeholder {
 color: #000 !important;
 opacity: 1 !important;
}

.transparent-table {
  background: transparent !important;
}

.transparent-table .mud-paper,
.transparent-table .mud-table-container {
  background: transparent !important;
  box-shadow: none !important;
}

.transparent-table table,
.transparent-table thead,
.transparent-table tbody,
.transparent-table tr,
.transparent-table td,
.transparent-table th {
  background: transparent !important;
}

.transparent-table .mud-table-row:nth-child(even) {
  background-color: rgba(255,255,255,0.03);
}

.transparent-table .mud-table-row:hover {
  background-color: rgba(124, 92, 255, 0.08) !important;
}

.transparent-table thead th {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.glass-card {
  border-radius: 16px;

  /* background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.015)
  ); */

 background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);

  border: 1px solid rgba(160, 140, 255, 0.18);

  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.65),
    0 0 130px rgba(124, 92, 255, 0.35);
}

.mb-4 {
  margin-bottom: 2rem;
}

.glass-card.filter-panel {
  box-shadow:
    0 30px 85px rgba(0, 0, 0, 0.7),
    0 0 150px rgba(124, 92, 255, 0.45);
}


.glass-button {
  height: 48px;
  border-radius: 10px !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.4px;

  /* remove default Mud shadow */
  box-shadow: none !important;

  /* smooth transitions */
  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

/* hover = lift + glow */
.glass-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(124, 92, 255, 0.5);
}

/* click = press */
.glass-button:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.glass-button.primary-action {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(124, 92, 255, 0.65);
}

.glass-button.primary-action:hover {
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.75),
    0 0 70px rgba(124, 92, 255, 0.9);
}

/* Table root */
.glass-table {
  background: transparent !important;
}

/* Header row */
.glass-table thead tr {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.glass-table thead th {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Body rows */
.glass-table tbody tr {
  background: transparent;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.glass-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 9999px rgba(124, 92, 255, 0.06);
}

/* Cells */
.glass-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.glass-search {
  max-width: 260px;
}

.glass-search .mud-input-control {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.completed-btn {
  color: #4ade80; /* emerald */
  filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.6));
}

.pending-btn {
  color: #facc15; /* amber */
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.55));
}

.mud-table-pagination {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-table tbody tr {
  background: transparent !important;
}

.glass-table tbody tr:hover {
  position: relative;
  background: rgba(255, 255, 255, 0.04) !important;

  box-shadow:
    inset 0 0 0 9999px rgba(124, 92, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
}

.glass-table tbody tr:hover td {
  color: #ffffff;
}

.row-action {
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.glass-table tbody tr:hover .row-action {
  opacity: 1;
}

.glass-table tbody tr {
  cursor: pointer;
}

.glass-drawer {

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015)
  ) !important;



  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);

  border-right: 1px solid rgba(140, 120, 255, 0.18);

  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.05),
    0 0 60px rgba(124, 92, 255, 0.15);
z-index: 1000;
}

/* Inner spacing */
.drawer-content {
  height: 100%;
  padding-top: 16px;
}

/* Base nav item */
.mud-nav-link {
  border-radius: 10px;
  margin: 4px 8px;
  padding: 10px 12px;
  transition: 
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

/* Hover */
.mud-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 0 0 9999px rgba(124, 92, 255, 0.06);
}

/* Active page */
.mud-nav-link.mud-nav-link-active {
  background: rgba(124, 92, 255, 0.18);
  box-shadow:
    inset 0 0 0 9999px rgba(124, 92, 255, 0.25);
  font-weight: 600;
}

.glass-card-lite {
  margin: 12px;
  padding: 12px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-divider {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.glass-footer {
  width: 100%;
  text-align: center;
  padding: 14px 16px;

  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  letter-spacing: 0.3px;

  /* Glass background */
  background: linear-gradient(
    180deg,
    rgba(88, 28, 135, 0.65),
    rgba(88, 28, 135, 0.45)

  );

  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);

  /* Top separator glow */
  border-top: 1px solid rgba(140, 120, 255, 0.25);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 -8px 40px rgba(0, 0, 0, 0.45);
}

.glass-footer:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 -10px 50px rgba(124, 92, 255, 0.35);
}


.glass-appbar {
  /* Glass effect */
  background: linear-gradient(
    180deg,
    rgba(88, 28, 135, 0.75),
    rgba(88, 28, 135, 0.55)
  ) !important;

  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);

  /* Bottom edge separation */
  border-bottom: 1px solid rgba(140, 120, 255, 0.28);

  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 10px 40px rgba(0, 0, 0, 0.45);

  height: 64px;
  padding: 0 16px;
}


.appbar-icon {
  border-radius: 50%;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.appbar-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.45);
  transform: translateY(-1px);
}

.appbar-icon {
  border-radius: 50%;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.appbar-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.45);
  transform: translateY(-1px);
}

.glass-menu .mud-popover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 14px;
  border: 1px solid rgba(140, 120, 255, 0.2);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(124, 92, 255, 0.35);
}

.appbar-avatar {
  margin-left: 12px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15),
              0 0 12px rgba(124, 92, 255, 0.5);
}

.card-accent {
  height: 4px;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.red-bar {
  background: linear-gradient(
    90deg,
    #ef4444,
    #fb7185
  );

  box-shadow:
    0 0 16px rgba(239, 68, 68, 0.6);
}

.calendar-widget {
  /* padding: 16px; */
  position: relative;
}

.calendar-content {
  overflow: hidden;
  border-radius: 12px; /* slightly smaller than card */
  padding: 12px;
}

/* Remove date picker paper background */
.calendar-widget .mud-picker-static,
.calendar-widget .mud-picker {
  background: transparent !important;
  box-shadow: none !important;
}

.calendar-widget .mud-picker-toolbar,
.calendar-widget .mud-picker-calendar {
  margin: 0;
}

/* Square days → glass hover */
.calendar-widget .mud-day {
  border-radius: 8px;
}

.calendar-widget .mud-day:hover {
  background: rgba(124, 92, 255, 0.15);
}

.calendar-widget .mud-day-selected {
  background: linear-gradient(
    180deg,
    rgba(124, 92, 255, 0.6),
    rgba(124, 92, 255, 0.4)
  ) !important;
  box-shadow: inset 0 0 10px rgba(124, 92, 255, 0.5);
}

.dashboard-widget {
  /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
position: relative;
}

.dashboard-widget:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(124, 92, 255, 0.4);
}

.chart-widget {
  position: relative;
  padding-top: 0;
}

.green-bar {
  background: linear-gradient(
    90deg,
    #22c55e,
    #4ade80
  );
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.6);
}

.chart-content {
  position: relative;
  margin-top: 8px;

  padding: 12px;
  height: 320px;

  overflow: hidden;
  border-radius: 12px; /* inner clip radius */
}

.chart-widget svg,
.chart-widget canvas {
  overflow: hidden;
}

.chart-widget {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chart-widget:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(124, 92, 255, 0.4);
}

.donut-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donut-content {
  margin-top: 12px;

  width: 100%;
  height: 320px;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
  border-radius: 14px;
}

.donut-widget svg {
  overflow: hidden;
}

.orange-bar {
  background: linear-gradient(
    90deg,
    #f97316,
    #fb923c
  );
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.6);
}

.donut-inner-text {
  pointer-events: none;
  user-select: none;
  fill: #930767;
  font-family: "Inter", "Helvetica", sans-serif;
}

.donut-inner-text.title {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.7;
}

.donut-inner-text.value {
  font-size: 48px;
  font-weight: 700;
}

.donut-widget {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donut-widget:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 120px rgba(249, 115, 22, 0.4);
}

.chart-caption {
    display: flex;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 6px;
}

/* Animate colors */
@keyframes blueCycle {
    0%, 100% { background-color: #007bff; }  /* blue */
    50% { background-color: #66b2ff; }      /* lighter blue */
}

@keyframes greenCycle {
    0%, 100% { background-color: #28a745; }  /* green */
    50% { background-color: #7ddb7d; }      /* lighter green */
}

.color-cycle-blue {
    animation: blueCycle 2s infinite alternate;
}

.color-cycle-green {
    animation: greenCycle 2s infinite alternate;
}

.hide-required-asterisk .mud-input-required {
    display: none;
}
/* Hide the red asterisk for MudTextField labels */
.hide-required-asterisk label.mud-input-label::after {
    content: none !important;
}


.glass-card {
  position: relative;
  border-radius: 16px;
  padding: 5px 3px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(140, 120, 255, 0.18);

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(124, 92, 255, 0.28);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 0 120px rgba(124, 92, 255, 0.38);
}

.small-stat-widget {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 110px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  flex-shrink: 0;
}

/* Orange variant */
.stat-icon.orange {
  background: linear-gradient(135deg, #f97316, #fb923c);
  box-shadow:
    0 8px 24px rgba(249, 115, 22, 0.7),
    0 0 40px rgba(249, 115, 22, 0.6);
}

.stat-title {
  opacity: 0.85;
  font-weight: 500;
}

.stat-value {
  font-weight: 700;
  margin-top: 2px;
}

.stat-caption {
  opacity: 0.6;
}

.small-stat-widget:hover .stat-icon {
  transform: scale(1.05);
  transition: transform 0.15s ease;
}


/* GREEN */
.stat-icon.green {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  box-shadow:
    0 8px 24px rgba(34, 197, 94, 0.7),
    0 0 40px rgba(34, 197, 94, 0.6);
}

/* RED */
.stat-icon.red {
  background: linear-gradient(135deg, #ef4444, #f87171);
  box-shadow:
    0 8px 24px rgba(239, 68, 68, 0.7),
    0 0 40px rgba(239, 68, 68, 0.6);
}

/* TEAL */
.stat-icon.teal {
  background: linear-gradient(135deg, #14b8a6, #2dd4bf);
  box-shadow:
    0 8px 24px rgba(20, 184, 166, 0.7),
    0 0 40px rgba(20, 184, 166, 0.6);
}
.small-stat-widget {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 110px;
}

.stat-title { opacity: 0.85; font-weight: 500; }
.stat-value { font-weight: 700; }
.stat-caption { opacity: 0.6; }


.dashboard-header {
  margin-bottom: 20px;
  padding: 20px 24px;
 

  /* Match glass system */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 14px;
  border: 1px solid rgba(140, 120, 255, 0.18);

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 90px rgba(124, 92, 255, 0.25);
}

.dashboard-title {
  font-weight: 700;
  letter-spacing: 0.2px;
 color: var(--mud-palette-text-primary);
}

.dashboard-subtitle {
  opacity: 0.7;
 color: var(--mud-palette-text-secondary);
}

.dashboard-header {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-header:hover {
  transform: translateY(-1px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(124, 92, 255, 0.35);
}

.dashboard-header {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-dialog .mud-dialog {
  background: transparent;
  box-shadow: none;
}

.dialog-glass {
  padding: 24px;
  border-radius: 16px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(140, 120, 255, 0.18);

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.65),
    0 0 140px rgba(124, 92, 255, 0.35);
}

.dialog-section {
  padding: 16px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 0 0 rgba(255,255,255,0.15);
}

.dialog-header {
  padding: 16px;
  border-radius: 12px;

  background: linear-gradient(
    180deg,
    rgba(124, 92, 255, 0.12),
    rgba(124, 92, 255, 0.05)
  );

  border: 1px solid rgba(124, 92, 255, 0.25);

  box-shadow:
    0 0 40px rgba(124, 92, 255, 0.35);
}

.dialog-glass {
  color: var(--mud-palette-text-primary);
}

.dialog-glass .mud-typography {
  color: inherit;
}

.mud-dialog-actions {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.mud-button-filled-success {
  box-shadow:
    0 0 20px rgba(34,197,94,0.6);
}

.pricing-grid {
  max-width: 1200px;
  margin: auto;

}

.glass-plan-card {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  height: 620px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.04)
  );

  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);

  color: var(--mud-palette-text-primary);

  box-shadow:
    0 30px 90px rgba(0,0,0,0.65);
  transition: all 0.25s ease;
}

.glass-plan-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 40px 120px rgba(124,92,255,0.4);
}

.popular {
  transform: scale(1.05);
  border-color: rgba(124,92,255,0.45);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 16px;
  padding: 6px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg,#7c5cff,#a78bfa);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.content-section {
  margin-top: 96px;
}

.section-title {
  font-weight: 600;
}

/* Optional: reduce gap on mobile */
@media (max-width: 768px) {
  .content-section {
    margin-top: 64px;
  }
}


/* ========= FORM-SPECIFIC ENHANCEMENT ========= */

.glow-form {
  position: relative;
  padding: 28px;
}

/* Inputs pick up same purple glow */
/* .glass-card .mud-input-root:focus-within {
  box-shadow:
    0 0 18px rgba(124, 92, 255, 0.6),
    inset 0 0 0 1px rgba(160, 140, 255, 0.35);
  border-radius: 12px;
} */

/* Outlined border tint
.glass-card .mud-input-outlined-border {
  border-color: rgba(160, 140, 255, 0.25);
} */

/* Label glow */
/* .glass-card .mud-input-label.mud-input-label-active {
  color: rgba(160, 140, 255, 0.95);
  text-shadow: 0 0 10px rgba(124, 92, 255, 0.6);
} */

/* Validation error glow */
/* .glass-card .mud-input-error {
  box-shadow:
    0 0 12px rgba(255, 99, 99, 0.65);
} */

/* Divider softened */
.glass-card .mud-divider {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Fit & center the card */
.fitted-form {
  max-width: 820px;
  width: 100%;
  margin: 48px auto;
}

/* Reduce vertical noise */
.glow-form .mud-input-control {
  margin-bottom: 2px;
}

/* Notes not massive */
.glow-form textarea {
  min-height: 72px;
}

/* Section breathing */
.glow-form .mud-divider {
  opacity: 0.35;
}

