@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display&display=swap');/* ===============================
   BASE RESET
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  --app-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-family: var(--app-font);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure form elements inherit the app font */
input,
textarea,
select,
button {
  font-family: inherit;
}

/* Force third-party libs (Ant Design and MUI) to use Poppins */
[class^="ant-"],
[class*=" ant-"],
[class^="Mui"],
[class*=" Mui"] {
  font-family: var(--app-font) !important;
}





/* =========================================================
   SCROLL-ON-HOVER TEXT
   ========================================================= */
.scroll-wrapper {
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
}

.scroll-text {
  display: inline-flex;
}

.scroll-wrapper:hover .scroll-text {
  animation: scroll-left 6s linear infinite;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}






/* ===============================
   GLOBAL ANT TABLE DESIGN
================================ */

.global-table .ant-table {
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

/* Header */
.global-table .ant-table-thead > tr > th {
  background-color: cornflowerblue;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}

/* Body */
.global-table .ant-table-tbody > tr > td {
  padding: 6px 10px;
  text-align: center;
  white-space: nowrap;
}

/* Zebra rows */
.global-table .ant-table-tbody > tr:nth-child(odd) > td {
  background-color: #f2f2f2;
}

.global-table .ant-table-tbody > tr:nth-child(even) > td {
  background-color: #ffffff;
}

/* Hover */
.global-table .ant-table-tbody > tr:hover > td {
  background-color: #e8f0fe;
}

/* Pagination */
.global-table .ant-pagination {
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
}

/* ===============================
   SORTING FIXES
================================ */

/* Disable AntD sorter tooltip */
.global-table .ant-table-column-sorter-tooltip {
  display: none !important;
}

/* Sort icon alignment */
.global-table .ant-table-column-sorters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Sort icon color */
.global-table .ant-table-column-sorter {
  color: rgba(255, 255, 255, 0.75);
}

/* Active sort icon */
.global-table
.ant-table-column-sorter-up.active,
.global-table
.ant-table-column-sorter-down.active {
  color: #ffffff;
}


/* =========================================================
   LARGE TEXT – ELLIPSIS & TOOLTIP
   ========================================================= */
.ellipsis-cell {
  max-width: 200px;
  display: inline-block;
  position: relative; /* 🔑 REQUIRED */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  cursor: pointer;
}

/* Tooltip bubble */
.ellipsis-cell::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 125%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: normal;
  max-width: 300px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 9999;
}

/* Arrow */
.ellipsis-cell::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 115%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.ellipsis-cell:hover::after,
.ellipsis-cell:hover::before {
  opacity: 1;
}


/* ===============================
   ANT TABLE – TEXT ELEMENTS
================================ */

.ant-table,
.ant-table table,
.ant-table th,
.ant-table td {
  font-family: 'Poppins',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Fira Sans',
    'Droid Sans',
    'Helvetica Neue',
    sans-serif;
}

/* ===============================
   TABLE ROW STATES
================================ */

/* ===============================
   TABLE ROW BACKGROUND COLORS
================================ */

/* Income row */
.global-table .row-income > td {
  background-color: #e8f5e9 !important; /* light green */
  /* color: #1b5e20; */
}

/* Expense row */
.global-table .row-expense > td {
  background-color: #ffebee !important; /* light red */
  /* color: #b71c1c; */
}

/* Keep hover consistent */
.global-table .row-income:hover > td {
  background-color: #d0f0d6 !important;
}

.global-table .row-expense:hover > td {
  background-color: #ffd6d6 !important;
}


/* =========================================================
   MATERIAL UI – TEXTFIELD
   ========================================================= */
.textField-root .MuiInputBase-root {
  background-color: #fff;
  border-radius: 8px;
  font-size: 12px;
}

.textField-root .MuiOutlinedInput-notchedOutline {
  border: 1px solid #bbb9b9;
}

.textField-root .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #000;
}

.textField-root .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: #3498db;
}

.textField-root .MuiInputLabel-outlined {
  font-size: 14px;
}

.textField-root .MuiInputLabel-outlined.Mui-focused {
  background-color: #3498db;
  color: #fff;
  padding: 0 12px;
  border-radius: 12px;
}

.textField-root .MuiInputLabel-asterisk,
.required-asterisk .MuiFormLabel-asterisk {
  color: red;
}


/* =========================================================
   MATERIAL UI – CUSTOM DIALOG
   ========================================================= */
.custom-dialog .MuiDialog-paper {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.custom-dialog .MuiDialogTitle-root {
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
  color: #fff;
  font-weight: 700;
}

.custom-dialog .MuiDialogActions-root {
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}
/* ===============================
   SWEETALERT2 – ALWAYS ON TOP
================================ */

/* Popup */
.swal2-container {
  z-index: 10000 !important;
}

/* Popup box */
.swal2-popup {
  width: 300px;
  border-radius: 8px;
  z-index: 10001 !important;
}

/* Backdrop */
.swal2-backdrop {
  z-index: 9999 !important;
}

/* Title */
.swal2-title {
  font-size: 15px;
}

/* Content */
.swal2-html-container,
.swal2-content {
  font-size: 13px;
}

/* Buttons */
.swal2-confirm,
.swal2-cancel {
  font-size: 14px;
  border-radius: 6px;
}.container_11a954 {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--uib-size);
  width: var(--uib-size);
}

.inner_f13ad2 {
  height: var(--uib-size);
  width: var(--uib-size);
  transform-origin: center;
  overflow: visible;
}

.car_debdb6 {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: var(--uib-dash), var(--uib-gap);
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: travel_8af1f5 var(--uib-speed) linear infinite;
  will-change: stroke-dasharray, stroke-dashoffset;
  transition: stroke 0.5s ease;
}

.track_7916ca {
  stroke: var(--uib-color);
  opacity: var(--uib-bg-opacity);
  transition: stroke 0.5s ease;
}

@keyframes travel_8af1f5 {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -100;
  }
}/* LoadingOverlay.css */

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
  }
  
  .loading-modal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  /* src/Layout/Sidebar.css */

/* ==========================================
   SIDEBAR CONTAINER (HARD LOCK)
========================================== */
.custom-sidebar {
  background: cornflowerblue !important;
  position: fixed !important;
  top: 64px;
  left: 0;
  bottom: 0;
  z-index: 1000;

  overflow: hidden;

  /* 🔒 prevent AntD override */
  flex: none !important;
  min-width: 0 !important;

  transition: width 0.25s ease;
}

/* 🔒 COLLAPSED */
.custom-sidebar.collapsed {
  width: 56px !important;
  max-width: 56px !important;
}

/* 🔒 EXPANDED */
.custom-sidebar.expanded {
  width: 220px !important;
  max-width: 220px !important;
}

/* ==========================================
   SCROLL CONTAINER
========================================== */
.sidebar-scroll {
  height: 100%;
  overflow-y: auto;
  position: relative;
}

/* Hide scrollbar */
.sidebar-scroll::-webkit-scrollbar {
  width: 0px;
}
.sidebar-scroll {
  scrollbar-width: none;
}

/* ==========================================
   MENU
========================================== */
.custom-sidebar .ant-menu {
  background: transparent !important;
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.custom-sidebar .ant-menu-item,
.custom-sidebar .ant-menu-submenu-title {
  padding: 6px 10px !important;
  margin: 2px 6px;
  border-radius: 6px;
  color: white !important;
}

/* Hover */
.custom-sidebar .ant-menu-item:hover,
.custom-sidebar .ant-menu-submenu-title:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* ==========================================
   ACTIVE ITEM
========================================== */
.custom-sidebar .ant-menu-item-selected {
  background: transparent !important;
  color: black !important;
  font-weight: 600;
}

/* ==========================================
   SUBMENU
========================================== */
.custom-sidebar .ant-menu-submenu .ant-menu {
  background: rgba(0, 0, 0, 0.12) !important;
  border-radius: 6px;
  padding: 4px;
}

/* ==========================================
   ICON
========================================== */
.custom-sidebar svg {
  font-size: 18px !important;
}

/* ==========================================
   ACTIVE INDICATOR
========================================== */
.sidebar-indicator {
  position: absolute;
  left: 4px;
  right: 4px;
  background: white;
  border-radius: 6px;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================
   TOGGLE BUTTON
========================================== */
.sidebar-toggle {
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: black;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}



/* ============================================================
   PJSOFTTECH CRM — Login System
   Theme: Light Platinum × Amber Gold
   Fonts: Sora (headings) · DM Sans (body)
   ============================================================ */
/* ── Tokens ─────────────────────────────────────────────────── */
.sidebar-login-container {
  --gold:     #C97D0C;
  --gold-lt:  #F5A623;
  --gold-bg:  rgba(201,125,12,.07);

  --bg:       #EEF1F8;
  --card:     #ffffff;
  --side:     #F7F8FC;
  --tabs-bg:  #ECEEF5;

  --bd:       rgba(20,30,70,.10);
  --bd2:      rgba(20,30,70,.16);

  --t1:       #0D1422;
  --t2:       #46527A;
  --tm:       #8A93B0;

  --r2:       #0A926E;
  --danger:   #C84040;

  --ease:     cubic-bezier(0.4,0,0.2,1);
  --spring:   cubic-bezier(0.34,1.56,0.64,1);
}
/* ── Scoped reset ───────────────────────────────────────────── */
.sidebar-login-container *,
.sidebar-login-container *::before,
.sidebar-login-container *::after {
  box-sizing: border-box;
  font-family: 'DM Sans', -apple-system, sans-serif;
}
/* ── Root ───────────────────────────────────────────────────── */
.sidebar-login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 20px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
/* mesh blobs */
.sidebar-login-container::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 12% 10%, rgba(201,125,12,.055) 0%, transparent 55%),
    radial-gradient(ellipse 50% 65% at 88% 90%, rgba(79,82,200,.065)  0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 48%, rgba(10,146,110,.04)  0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
/* dot grid */
.sidebar-login-container::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,30,70,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,30,70,.028) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}
/* ── Particles ──────────────────────────────────────────────── */
.particles-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.particles-container div {
  position: absolute;
  left: 0; top: 0;
  border-radius: 50%;
  will-change: transform;
  backface-visibility: hidden;
}
/* ── Layout ─────────────────────────────────────────────────── */
.login-layout-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 1160px;
  width: 100%;
  z-index: 10;
  position: relative;
  justify-content: center;
}
/* ══════════════════════════════════════════════════════════════
   APPS PANEL
══════════════════════════════════════════════════════════════ */
.apps-panel-container {
  width: 308px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(20,30,70,.06), 0 12px 32px rgba(20,30,70,.07), inset 0 1px 0 #fff;
  transition: box-shadow .3s var(--ease);
}
.apps-panel-container:hover {
  box-shadow: 0 4px 12px rgba(20,30,70,.08), 0 20px 48px rgba(20,30,70,.10), inset 0 1px 0 #fff;
}
.apps-header { display: flex; flex-direction: column; gap: 14px; }
.apps-title  { display: flex; align-items: center; gap: 9px; }
.apps-main-icon {
  font-size: 17px;
  color: var(--gold);
  display: flex;
  align-items: center;
  animation: iconPulse 3s ease-in-out infinite;
}
@keyframes iconPulse {
  0%,100% { filter: drop-shadow(0 0 3px rgba(201,125,12,.35)); }
  50%     { filter: drop-shadow(0 0 8px rgba(201,125,12,.75)); }
}
.apps-title h4 {
  font-family: 'Sora', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
}
/* tabs */
.apps-tabs {
  display: flex;
  background: var(--tabs-bg);
  border: 1px solid var(--bd);
  border-radius: 11px;
  padding: 3px;
  gap: 3px;
}
.apps-tab {
  flex: 1;
  padding: 7px 4px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--tm);
  transition: all .2s var(--ease);
}
.apps-tab.active {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(201,125,12,.28);
}
.apps-tab:hover:not(.active) { background: rgba(20,30,70,.05); color: var(--t2); }
.apps-tab span { font-size: 10.5px; }
/* grid wrapper — smooth height transition key piece */
.apps-grid-container {
  overflow: hidden;
  /* transition: max-height .42s var(--ease); */
}
.apps-grid,
.logins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 1px;
}
/* ── App cards ─────────────────────────────────────────────── */
.app-card {
  position: relative;
  border-radius: 13px;
  padding: 9px 5px;
  cursor: pointer;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  user-select: none;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .22s var(--spring), box-shadow .22s var(--ease);
  will-change: transform;
}
.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, transparent 55%);
  pointer-events: none;
}
.app-card:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.app-card:active { transform: scale(.97); }
.app-icon-container {
  font-size: 19px;
  line-height: 1;
  display: flex;
  align-items: center;

  transition: transform .22s var(--spring);
}
.app-card:hover .app-icon-container { transform: scale(1.2) rotate(-5deg); }
.login-card .app-icon-container { font-size: 17px; }
.app-name {
  font-size: 9.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.app-action-hint {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  background: rgba(0,0,0,.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  opacity: 0;
  transition: opacity .2s;
  backdrop-filter: blur(3px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.app-card:hover .app-action-hint { opacity: 1; }
.app-action-hint svg { font-size: 15px; }
/* Override global anticon styles inside the colored app cards */
.sidebar-login-container .app-card .anticon {
  color: #ffffff !important;
  font-size: inherit !important;
}
/* ══════════════════════════════════════════════════════════════
   LOGIN CARD
══════════════════════════════════════════════════════════════ */
.sidebar-login-layout {
  flex: 1;
  max-width: 658px;
  min-height: 416px;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--bd);
  box-shadow: 0 2px 8px rgba(20,30,70,.06), 0 16px 48px rgba(20,30,70,.09), inset 0 1px 0 #fff;
  flex-shrink: 0;
  transition: box-shadow .3s var(--ease);
}
.sidebar-login-layout:hover {
  box-shadow: 0 4px 12px rgba(20,30,70,.08), 0 24px 64px rgba(20,30,70,.12), inset 0 1px 0 #fff;
}
/* Sidebar */
.login-sidebar {
  width: 192px;
  flex-shrink: 0;
  background: var(--side);
  border-right: 1px solid var(--bd);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-sidebar::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,125,12,.045) 0%, transparent 70%);
  pointer-events: none;
}
.sidebar-logo {
  padding: 20px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--bd);
}
.logo-placeholder {
  width: 80px;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 10px rgba(201,125,12,.18));
  transition: transform .4s var(--spring), filter .3s;
}
.logo-placeholder:hover {
  transform: scale(1.07) rotate(1.5deg);
  filter: drop-shadow(0 5px 18px rgba(201,125,12,.38));
}
.sidebar-nav {
  flex: 1;
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all .22s var(--ease);
}
.sidebar-nav-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-bg), transparent);
  opacity: 0;
  transition: opacity .22s;
}
.sidebar-nav-item:hover::after,
.sidebar-nav-item.active::after { opacity: 1; }
.sidebar-nav-item:hover { border-left-color: rgba(201,125,12,.3); }
.sidebar-nav-item.active { border-left-color: var(--gold); }
.sidebar-nav-item.active::before {
  content: '';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 7px var(--gold);
  z-index: 1;
}
.nav-icon {
  font-size: 15px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: transform .2s var(--spring);
}
.sidebar-nav-item:hover .nav-icon { transform: scale(1.15); }
.sidebar-nav-item span {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.sidebar-nav-item.active span { font-weight: 700; }
.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--bd);
  font-size: 9.5px;
  color: var(--tm);
  letter-spacing: .04em;
}
/* Form area */
.login-content {
  flex: 1;
  padding: 30px 38px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(201,125,12,.012) 0%, transparent 40%);
}
.login-content::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,125,12,.055) 0%, transparent 70%);
  pointer-events: none;
}
.login-form-wrapper { height: 100%; width: 100%; position: relative; }
.login-header-color {
  height: 3px;
  border-radius: 2px;
  margin-bottom: 24px;
  position: relative;
  overflow: visible;
  transition: background .4s;
}
.login-header-color::after {
  content: '';
  position: absolute;
  inset: -3px -4px;
  border-radius: 4px;
  background: inherit;
  filter: blur(5px);
  opacity: .45;
}
/* Form typography */
.form-title {
  font-family: 'Sora', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--t1) !important;
  letter-spacing: -.35px;
  margin: 0 0 5px 0 !important;
  line-height: 1.2 !important;
}
.form-subtitle {
  color: var(--t2);
  font-size: 12.5px;
  margin-bottom: 22px;
  line-height: 1.5;
}
/* ── Ant Design input overrides (light) ─────────────────────── */
.sidebar-login-container .ant-input-affix-wrapper.styled-input,
.sidebar-login-container .styled-input {
  width: 100%;
  margin-bottom: 13px;
  background: var(--card) !important;
  border: 1.5px solid var(--bd2) !important;
  border-radius: 10px !important;
  color: var(--t1) !important;
  font-size: 13px !important;
  box-shadow: 0 1px 3px rgba(20,30,70,.05) !important;
  transition: border-color .2s, box-shadow .2s, transform .18s var(--spring) !important;
}
.sidebar-login-container .ant-input-affix-wrapper.styled-input:hover,
.sidebar-login-container .styled-input:hover {
  border-color: rgba(201,125,12,.38) !important;
}
.sidebar-login-container .ant-input-affix-wrapper-focused.styled-input,
.sidebar-login-container .ant-input-affix-wrapper:focus-within.styled-input {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201,125,12,.10), 0 1px 3px rgba(20,30,70,.04) !important;
  transform: translateY(-1px);
}
.sidebar-login-container .ant-input-affix-wrapper .ant-input {
  background: transparent !important;
  color: var(--t1) !important;
  font-size: 13px !important;
}
.sidebar-login-container .ant-input-affix-wrapper .ant-input::placeholder,
.sidebar-login-container .ant-input::placeholder { color: var(--tm) !important; }
.sidebar-login-container .anticon {
  color: var(--tm) !important;
  font-size: 14px !important;
  transition: color .2s !important;
}
.sidebar-login-container .ant-input-affix-wrapper:focus-within .anticon { color: var(--gold) !important; }
.sidebar-login-container .ant-input-password-icon.anticon:hover { color: var(--gold-lt) !important; }
/* Sign In button */
.sidebar-login-container .login-button,
.sidebar-login-container .ant-btn.login-button {
  width: 100% !important;
  height: 44px !important;
  background: linear-gradient(135deg, var(--gold-lt) 0%, var(--gold) 100%) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-family: 'Sora', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: .025em !important;
  cursor: pointer !important;
  box-shadow: 0 3px 16px rgba(201,125,12,.28) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: transform .22s var(--spring), box-shadow .22s !important;
}
.sidebar-login-container .login-button::before,
.sidebar-login-container .ant-btn.login-button::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.24) 50%, transparent 65%) !important;
  transform: translateX(-100%) !important;
  transition: transform .5s !important;
}
.sidebar-login-container .login-button:hover::before,
.sidebar-login-container .ant-btn.login-button:hover::before { transform: translateX(100%) !important; }
.sidebar-login-container .login-button:hover,
.sidebar-login-container .ant-btn.login-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 7px 24px rgba(201,125,12,.38) !important;
}
.sidebar-login-container .login-button:active,
.sidebar-login-container .ant-btn.login-button:active { transform: translateY(0) !important; }
/* Footer links */
.forgot-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--tm);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.forgot-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
/* ── MUI overrides (ForgotPassword — light) ─────────────────── */
.sidebar-login-container .MuiPaper-root {
  background: var(--card) !important;
  color: var(--t1) !important;
  border: 1px solid var(--bd2) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.sidebar-login-container .MuiTextField-root .MuiOutlinedInput-root {
  background: var(--card) !important;
  color: var(--t1) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
}
.sidebar-login-container .MuiTextField-root .MuiOutlinedInput-notchedOutline { border-color: var(--bd2) !important; }
.sidebar-login-container .MuiTextField-root .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline { border-color: rgba(201,125,12,.45) !important; }
.sidebar-login-container .MuiTextField-root .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline { border-color: var(--gold) !important; border-width: 1.5px !important; }
.sidebar-login-container .MuiInputLabel-root { color: var(--tm) !important; font-size: 13px !important; }
.sidebar-login-container .MuiInputLabel-root.Mui-focused { color: var(--gold) !important; }
.sidebar-login-container .MuiTypography-root,
.sidebar-login-container .MuiStepLabel-label { color: var(--t1) !important; }
.sidebar-login-container .MuiStepLabel-label.MuiStepLabel-alternativeLabel { color: var(--tm) !important; }
.sidebar-login-container .MuiButton-contained {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold)) !important;
  color: #fff !important; font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 3px 12px rgba(201,125,12,.28) !important;
}
.sidebar-login-container .MuiStepIcon-root.Mui-active    { color: var(--gold) !important; }
.sidebar-login-container .MuiStepIcon-root.Mui-completed { color: var(--r2)   !important; }
.sidebar-login-container .MuiIconButton-root { color: var(--t2) !important; }
.sidebar-login-container .MuiChip-root {
  background: var(--tabs-bg) !important;
  color: var(--t2) !important;
  border: 1px solid var(--bd) !important;
}
/* ── Focus ring ─────────────────────────────────────────────── */
.apps-tab:focus-visible,
.sidebar-nav-item:focus-visible,
.app-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1050px) {
  .login-layout-wrapper { flex-direction: column; align-items: center; gap: 16px; }
  .apps-panel-container,
  .sidebar-login-layout  { width: 100%; max-width: 680px; }
  .sidebar-login-layout  { min-height: 460px; }
}
@media (max-width: 680px) {
  .sidebar-login-container { padding: 16px 14px; }
  .login-content { padding: 24px 20px; }
  .login-sidebar { width: 174px; }
  .form-title    { font-size: 18px !important; }
}
@media (max-width: 520px) {
  .sidebar-login-layout   { flex-direction: column; min-height: auto; }
  .login-sidebar          { width: 100%; border-right: none; border-bottom: 1px solid var(--bd); }
  .sidebar-nav            { flex-direction: row; padding: 10px 12px; flex-wrap: wrap; gap: 3px; }
  .sidebar-nav-item       { flex: 1; min-width: 66px; border-left: none; border-bottom: 2px solid transparent; padding: 7px 8px; justify-content: center; border-radius: 8px; }
  .sidebar-nav-item.active { border-left-color: transparent; border-bottom-color: var(--gold); background: var(--gold-bg); }
  .sidebar-nav-item.active::before { display: none; }
  .sidebar-footer         { display: none; }
  .apps-grid, .logins-grid { grid-template-columns: repeat(2,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Enhanced compact SubscriptionPlan.css - features display fixed with smooth expand/collapse */
/* Base */
:root{
  --accent: #3b82f6;
  --gray: #9ca3af;
  --card-bg: #fff;
  --soft: #f9fafb;
  --transition-slow: 380ms;
}
.subscription-container{
  font-family: 'Poppins', sans-serif;

  padding: 0.9rem 1rem;
  border-radius: 10px;
  min-height: 100vh;
}
/* Nav tabs */
.nav-tabs { margin-bottom: 0.75rem; }
.nav-tabs-flex { display:flex; gap:1rem; overflow-x:auto; padding:0.45rem 0;justify-content: center; }
.nav-tab-item { padding:0.4rem 0.8rem; border-radius: 999px; font-size:0.70rem; font-weight:600; background:#f8fafc; cursor:pointer; white-space:nowrap; border:1px solid transparent; }
.nav-tab-item.active { background:linear-gradient(135deg,#3b82f6,#8b5cf6); color:#fff; transform:translateY(-1px); box-shadow:0 6px 12px rgba(59,130,246,0.12); }
/* Layer systems */
.layer-systems-section{ margin-bottom:1rem; background:var(--card-bg); border-radius:24px; padding:0.6rem; box-shadow:0 2px 6px rgba(0,0,0,0.03); }
.layer-systems-header{ display:flex; justify-content:space-between; align-items:center; gap:0.5rem; margin-bottom:0.5rem; }
.layer-systems-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:0.6rem; }
/* system card compact */
.layer-system-card{ padding:0.6rem; border-radius:24px; border:1px solid #eef2ff; background:var(--card-bg); transition:all var(--transition-slow) cubic-bezier(.2,.9,.2,1); display:flex; flex-direction:column; gap:0.45rem;}
.layer-system-card.selected{ background:#eef2ff; border-color:#c7d2fe; box-shadow:0 6px 14px rgba(99,102,241,0.06); transform:translateY(-3px); }
.layer-system-header-compact{ display:flex; justify-content:space-between; align-items:center; gap:0.5rem; }
.layer-system-icon-compact{ width:34px; height:34px; border-radius:8px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,rgba(59,130,246,0.12),rgba(139,92,246,0.08)); color:var(--accent); font-weight:600; }
.layer-system-title-compact{ font-size:0.92rem; font-weight:600; color:#1f2937; padding-left:0.5rem; }
.layer-system-chip-compact{ padding:0.18rem 0.5rem; border-radius:999px; font-size:0.72rem; background:var(--soft); color:var(--gray); font-weight:600; }
.layer-system-divider-compact{ height:1px; background:linear-gradient(90deg, rgba(99,102,241,0.06), rgba(16,185,129,0.04)); border-radius:2px; margin-top:0.2rem; }
/* feature list compact - hidden by default and animated */
.layer-system-feature-list-compact{ list-style:none; margin:0; padding:0; display:block; }
.layer-system-feature-compact{ display:flex; gap:0.5rem; align-items:flex-start; padding:0.35rem 0; font-size:0.8rem; color:#374151; line-height:1.1; }
.layer-system-empty-compact{ display:flex; gap:0.5rem; align-items:center; color:var(--gray); font-size:0.82rem; padding:0.4rem 0; }
/* Plans grid */
.plans-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); gap:0.7rem; margin-top:0.6rem; }
.plan-card.compact{ border-radius:24px; border:2px solid #eef2ff; background:var(--card-bg); overflow:visible; transition:all var(--transition-slow) cubic-bezier(.2,.9,.2,1); }
.plan-card.compact:hover{ transform:translateY(-4px); box-shadow:0 10px 30px rgba(2,6,23,0.06); }
.plan-header.compact{ padding:0.6rem; display:flex; flex-direction:column; align-items:center; gap:0.35rem; border-radius:24px;}
.plan-header-top-compact{ display:flex; align-items:center; gap:0.6rem; }
.plan-icon-wrapper-compact{ width:36px; height:36px; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#fff; }
.plan-title.compact{ font-size:1.05rem; font-weight:700; margin:0; }
.price-flex.compact{ display:flex; gap:0.4rem; align-items:baseline; font-size:0.9rem; color:#4b5563; }
/* content */
.plan-content.compact{ padding:0.6rem; display:flex; flex-direction:column; gap:0.6rem; }
.select-button.compact{ padding:0.5rem 0.8rem; border-radius:8px; font-weight:700; font-size:0.9rem; }
/* Systems inside plan */
.systems-section.compact{ margin-bottom:0.4rem; }
.section-title.compact{ display:flex; align-items:center; gap:0.45rem; font-size:0.95rem; font-weight:700; margin:0 0 0.4rem 0; color:var(--accent); }
/* system block compact */
.system-block-compact{ padding:0.45rem;  display:flex; flex-direction:column;  border:1px solid transparent; transition:all 240ms ease; }
.system-top-compact{ display:flex; justify-content:space-between; align-items:center; gap:0.5rem; }
.system-left-compact{ display:flex; gap:0.3rem; align-items:center; }
.system-name.compact{ font-size:0.82rem; font-weight:600; }
/* features collapse animation (smooth & fluid) */
.features-collapse{ max-height:0; overflow:hidden; opacity:0; transition: max-height var(--transition-slow) cubic-bezier(.2,.9,.2,1), opacity 260ms ease; }
.features-collapse.open{ max-height:480px; opacity:1; padding-top:0.4rem; }
/* features list style */
.features-list-compact{ list-style:none; margin:0; padding:0 0 0 0.2rem; display:flex; flex-direction:column; gap:0.28rem; }
.feature-item-compact{ display:flex; gap:0.45rem; align-items:flex-start; font-size:0.8rem; color:#374151; }
.feature-icon-compact{ color:var(--accent); }
/* additional features */
.additional-features-section.compact{ margin-top:0.25rem; }
.additional-features-grid.compact{ display:grid; grid-template-columns:repeat(2,1fr); gap:0.4rem; }
.feature-row.compact{ padding:0.4rem; display:flex; gap:0.5rem; align-items:center; border-radius:8px; }
/* toggle */
.toggle-details-button.compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  letter-spacing: 0.3px;
}
.toggle-details-button.compact:hover {
  background-color: rgba(255, 0, 0, 0.08); /* faint red hover tint */
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.toggle-details-button.compact:active {
  transform: scale(0.98);
  box-shadow: none;
}
.toggle-details-button.compact .button-icon {
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.toggle-details-button.compact:hover .button-icon {
  transform: translateY(-2px);
}
.layer-systems-actions {
  display: flex;
  justify-content: flex-end; /* Align right; change to center if needed */
  margin-top: 1.5rem;
}
.layer-systems-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
.layer-systems-continue {
  background-color: #1976D2; /* Blue tone */
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 10px rgba(25, 118, 210, 0.25);
}
.layer-systems-continue:hover {
  background-color: #1565C0;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.35);
  transform: translateY(-1px);
}
.layer-systems-continue:active {
  transform: scale(0.98);
  box-shadow: none;
}
.layer-systems-continue:disabled {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  border: 1px solid #d0d0d0;
}
/* compact popular badge */
.popular-badge.compact{ top:8px; right:8px; padding:0.35rem 0.6rem;  font-size:0.6rem;border-radius:24px; }
/* contact */
.contact-section{ margin-top:1rem; padding:0.8rem; border-radius:8px; background:#eef2ff; text-align:center; }
/* responsiveness */
@media (max-width: 900px){
  .plans-grid{ grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); }
  .additional-features-grid.compact{ grid-template-columns:1fr; }
}
@media (max-width: 600px){
  .nav-tab-item{ font-size:0.78rem; padding:0.35rem 0.6rem; }
  .plan-title.compact{ font-size:1rem; }
  .plan-icon-wrapper-compact{ width:32px; height:32px; }
}
.toggle-all-btn {
  text-align: center; /* or center, depending on layout */
  margin-bottom: 1rem;
}
.toggle-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  border: 1.8px solid;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  letter-spacing: 0.3px;
}
.toggle-button-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
.toggle-button:hover {
  background-color: rgba(218, 44, 67, 0.08); /* light red hover tint */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}
.toggle-button:active {
  transform: scale(0.98);
  box-shadow: none;
}
.toggle-button .mr-1 {
  margin-right: 5px;
}
/* === Premium Solo Systems v2 Design with Color Variants === */
.solo-systems-section {
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.solo-systems-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.solo-systems-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  letter-spacing: -0.3px;
}
.solo-systems-continue {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.2);
}
.solo-systems-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}
.solo-systems-continue:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.solo-systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
/* Color variants for system cards */
.solo-system-card-v2 {
  --card-bg: #f8fafc;
  --card-border: #e2e8f0;
  --card-accent: #4f46e5;
  --card-text: #1e293b;
  --card-icon-bg: rgba(99, 102, 241, 0.1);
  --card-hover-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
/* Color variants for different system cards */
.solo-system-card-v2:nth-child(6n+1) { --card-accent: #4f46e5; --card-icon-bg: rgba(79, 70, 229, 0.1); }
.solo-system-card-v2:nth-child(6n+2) { --card-accent: #10b981; --card-icon-bg: rgba(16, 185, 129, 0.1); }
.solo-system-card-v2:nth-child(6n+3) { --card-accent: #f59e0b; --card-icon-bg: rgba(245, 158, 11, 0.1); }
.solo-system-card-v2:nth-child(6n+4) { --card-accent: #ef4444; --card-icon-bg: rgba(239, 68, 68, 0.1); }
.solo-system-card-v2:nth-child(6n+5) { --card-accent: #8b5cf6; --card-icon-bg: rgba(139, 92, 246, 0.1); }
.solo-system-card-v2:nth-child(6n+6) { --card-accent: #ec4899; --card-icon-bg: rgba(236, 72, 153, 0.1); }
.solo-system-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--card-accent);
}
.solo-system-card-v2.selected {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--card-accent);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
}
.solo-system-card-v2.selected::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent);
}
.solo-system-header-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.solo-system-info-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.solo-system-icon-v2 {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.solo-system-card-v2:hover .solo-system-icon-v2 {
  transform: rotate(8deg) scale(1.1);
}
.solo-system-name-v2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--card-accent);
  transition: color 0.2s ease;
}
.solo-system-select {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.solo-system-card-v2.selected .solo-system-select {
  background: var(--card-accent);
  color: white;
}
.solo-system-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}
.solo-system-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--card-text);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.solo-system-price .unit {
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  margin-left: 2px;
}
.discount-pill {
  background: var(--card-accent);
  color: white;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.solo-system-toggle-btn {
  background: rgba(0, 0, 0, 0.02);
  border: 1.5px solid var(--card-accent);
  color: var(--card-accent);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0.25rem;
  width: 100%;
}
.solo-system-toggle-btn:hover {
  background: var(--card-accent);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.solo-system-features-v2 {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
}
.solo-system-features-v2.open {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}
.solo-system-features-v2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.solo-system-features-v2 li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
  padding: 0.25rem 0;
}
.solo-system-features-v2 .feature-icon {
  color: var(--card-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.no-features {
  color: #94a3b8;
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
  padding: 0.5rem 0;
}
/* Responsive adjustments */
@media (max-width: 640px) {
  .solo-systems-grid {
    grid-template-columns: 1fr;
  }
  
  .solo-systems-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .solo-systems-continue {
    width: 100%;
  }
}
.plan-summary-container {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping by default */
  gap: 0.8em;
  padding: 0.5rem;

  min-height: 100vh;
  border-radius: 1rem;
  justify-content: center;
  align-items: flex-start; /* Align items to the top */
  box-sizing: border-box; /* Include padding in width calculation */
  width: 100%; /* Ensure full width */

  margin: 0 auto; /* Center the container */
    font-family: 'Poppins', sans-serif;
}

.summary-left {
  flex: 1; /* Take up available space */
  min-width: 280px; /* Set a minimum width */
  max-width: 280px; /* Set a maximum width */
  border-radius: 1.5rem;
  border: 3px solid;
  overflow: hidden;
  padding-bottom: 1rem;
  background: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
              0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: sticky;
  top: 1rem; /* Add some space from the top */
  align-self: flex-start; /* Align to the top */
}

.summary-right {
  flex: 2; /* Take up more space than left */
  min-width: 400px; /* Set a minimum width */
  background: #fff;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}
  

  .summary-right:hover {
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  }
  
  .plan-header {
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .plan-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 1rem; */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }

  .summary-left:hover .plan-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
  }
  
  .plan-title {
    font-size: 1.75rem;
    font-weight: 700;
    /* margin-bottom: 1rem; */
    letter-spacing: 0.5px;
  }
  
  .price-flex {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: baseline;
    margin-top: 0.5rem;
  }
  
  .original-price {
    text-decoration: line-through;
    font-size: 1rem;
  }
  
  .current-price {
    font-size: 2rem;
    font-weight: 800;
  }
  
  .price-unit {
    font-size: 1rem;
    font-weight: 500;
  }
  
  .plan-content {
    /* padding: 1.5rem; */
  }

  .section-title {
    /* margin-top: 1.5rem; */
    /* margin-bottom: 1rem; */
    font-weight: 700;
    font-size: 1.0rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid;
    padding-bottom: 0.75rem;
  }
  
  .system-container, .feature-row {
    display: flex;
    align-items: normal;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    /* padding: 0.75rem; */
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
  }

  .system-container:hover, .feature-row:hover {
    border-color: currentColor;
      display: flex;

  align-items: center;
  position: relative;
  }
  
  .status-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  .system-container:hover .status-icon,
  .feature-row:hover .status-icon {
    transform: scale(1.2);
  }

  .system-name {
    font-weight: 600;
    font-size: 0.75rem;
  }

  .feature-text {
    font-weight: 500;
    font-size: 0.7rem;
  }
  

  
  .summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    width: 100%;
  }
  
  .summary-title {
    margin: 0;
    white-space: nowrap;
    margin-right: 1rem;
  }

  .summary-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }

  .summary-title {
    font-weight: 700 !important;
    letter-spacing: 0.5px;
  }



 
  
  .input-row input {
    width: 100%;
    /* padding: 0.75rem; */
    border-radius: 0.5rem;
    border: 2px solid #d1d5db;
    transition: all 0.3s ease;
  }

  .input-row input:focus {
    outline: none;
    border-color: currentColor;
  }
  
  .price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 0.5rem;
    border: 2px solid #e5e7eb;
  }
  
  .price-row {
    display: flex;
    justify-content: space-between;
    font-weight: 300;
    padding: 0.5rem 0;
    color: #374151;
  }
  
  .price-row.total {
    font-size: 0.9rem;
    font-weight: 700;
    border-top: 2px solid #d1d5db;
    /* padding-top: 1rem; */
    margin-top: 0.5rem;
    color: #111827;
  }
  
  .label {
    color: #6b7280;
    font-weight: 400;
  }
  
  .value {
    color: #111827;
    font-weight: 400;
  }

  .price-row.total .label,
  .price-row.total .value {
    color: #111827;
    font-weight: 700;
  }
  
  
  .total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1rem;
  }
  
  .proceed-button {
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }
  .duration-box {
    transition: all 0.3s ease;
  }

  .duration-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .duration-box.active {
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

 @media (max-width: 1200px) {
  .plan-summary-container {
    padding: 1.5rem;
  }
  
  .summary-left {
    min-width: 320px;
  }
  
  .summary-right {
    min-width: 350px;
  }
}

@media (max-width: 1024px) {
  .plan-summary-container {
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
  }
  
  .summary-left,
  .summary-right {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 100%;
  }
  
  .summary-left {
    position: static; /* Remove sticky on mobile */
    /* margin-bottom: 1rem; */
  }
}

/* Add smooth scrolling for better mobile experience */
@media (max-width: 768px) {
  .plan-summary-container {
    padding: 1rem;
    
  }
  
  .summary-right {
    padding: 1rem;
  }
  
  .plan-title {
    font-size: 1.5rem;
  }
  
  .current-price {
    font-size: 1.75rem;
  }
  
  .summary-title {
    font-size: 1.25rem !important;
    position: relative;
  }
}


/* ================================================
   ENTERPRISE DASHBOARD — LIGHT THEME
   Design: Refined Corporate / Clean Precision
   Font: DM Sans + DM Serif Display
================================================ */
/* ── CSS VARIABLES ── */
:root {
  --bg-base:        #F4F6FA;
  --bg-surface:     #FFFFFF;
  --bg-elevated:    #FAFBFD;
  --bg-muted:       #EEF1F7;

  --border:         #E2E7F0;
  --border-focus:   #3B6BE8;

  --text-primary:   #0E1B3D;
  --text-secondary: #4A5578;
  --text-muted:     #8892B0;
  --text-inverse:   #FFFFFF;

  --accent:         #3B6BE8;
  --accent-hover:   #2D56CC;
  --accent-soft:    #EBF0FD;

  --success:        #14A679;
  --warning:        #E68A18;
  --danger:         #D94040;

  /* Card accent palette — crisp, distinct */
  --c1: #3B6BE8; /* Cobalt Blue     */
  --c2: #0FA58A; /* Teal Green      */
  --c3: #7C4DFF; /* Electric Violet */
  --c4: #E8543B; /* Warm Coral      */
  --c5: #D4A017; /* Amber Gold      */
  --c6: #1B9AD4; /* Sky Blue        */

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  --shadow-card:  0 2px 8px rgba(14,27,61,.06), 0 1px 3px rgba(14,27,61,.04);
  --shadow-hover: 0 8px 28px rgba(59,107,232,.14), 0 2px 8px rgba(14,27,61,.06);
  --shadow-panel: 0 4px 20px rgba(14,27,61,.08);

  --transition: 220ms cubic-bezier(.4,0,.2,1);
}
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
/* ================================================
   ROOT WRAPPER
================================================ */
.branch-dashboard-wrapper {
  min-height: 100vh;
  background: var(--bg-base);
  padding: 28px 32px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-primary);
}
/* ── PAGE HEADER ── */
.dashboard-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.page-title-block {}
.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  /* margin-bottom: 4px; */
}
.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
}
.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
/* ── DATE BADGE ── */
.date-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}
.date-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(20,166,121,.18);
}
/* ================================================
   SEARCH
================================================ */
.search-section {
  margin-bottom: 24px;
  max-width: 400px;
}
/* Override MUI TextField for enterprise look */
.search-section .MuiOutlinedInput-root {
  background: var(--bg-surface) !important;
  border-radius: var(--radius-md) !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13.5px !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-card) !important;
  transition: box-shadow var(--transition) !important;
}
.search-section .MuiOutlinedInput-root:hover {
  box-shadow: var(--shadow-hover) !important;
}
.search-section .MuiOutlinedInput-root.Mui-focused {
  box-shadow: 0 0 0 3px rgba(59,107,232,.18) !important;
}
.search-section .MuiOutlinedInput-notchedOutline {
  border-color: var(--border) !important;
}
.search-section .MuiInputLabel-root {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 13px !important;
  color: var(--text-muted) !important;
}
.search-section .MuiInputLabel-root.Mui-focused {
  color: var(--accent) !important;
}
.search-section .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: var(--accent) !important;
  border-width: 1.5px !important;
}
.search-icon {
  color: var(--text-muted) !important;
  font-size: 18px !important;
}
/* ── STAT ROW ── */
.stat-row {
  display: flex;
  gap: 14px;
  /* margin-bottom: 24px; */
  flex-wrap: wrap;
}
.stat-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  min-width: 140px;
}
.stat-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.stat-chip-icon.blue   { background: #EBF0FD; color: var(--c1); }
.stat-chip-icon.teal   { background: #E6F7F4; color: var(--c2); }
.stat-chip-icon.violet { background: #F0EBFF; color: var(--c3); }
.stat-chip-icon.amber  { background: #FEF5E1; color: var(--c5); }
.stat-chip-body {}
.stat-chip-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.stat-chip-label {
  font-size: 11px;
  color: var(--text-muted);
  /* margin-top: 2px; */
  font-weight: 500;
}
/* ================================================
   LAYOUT
================================================ */
.dashboard-layout {
  display: flex;
  width: 100%;
  gap: 24px;
  align-items: flex-start;
}
.dashboard-left  { flex: 1; min-width: 0; }
.dashboard-right { width: 300px; min-width: 280px; display: flex; flex-direction: column; gap: 16px; }
/* ── VERTICAL DIVIDER ── */
.vertical-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}
/* ================================================
   SECTION LABEL
================================================ */
.section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
/* ================================================
   SYSTEMS GRID
================================================ */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
/* ================================================
   SYSTEM CARD
================================================ */
.system-card-wrapper {
  cursor: pointer;
  outline: none;
  border-radius: var(--radius-lg);
}
.system-card-wrapper:focus-visible .system-card {
  box-shadow: 0 0 0 3px rgba(59,107,232,.35);
}
.system-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  min-height: 80px;
}
.system-card-wrapper:hover .system-card {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(59,107,232,.25);
}
/* LEFT ACCENT BAND */
.card-accent-band {
  width: 5px;
  align-self: stretch;
  background: var(--card-color);
  flex-shrink: 0;
  border-radius: 0;
}
/* ICON BLOCK */
.card-icon-block {
  width: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: color-mix(in srgb, var(--card-color) 8%, transparent);
  flex-shrink: 0;
  position: relative;
}
.card-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--card-color);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--card-color) 40%, transparent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.system-card-wrapper:hover .card-icon-circle {
  transform: scale(1.08);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--card-color) 50%, transparent);
}
.card-icon, .card-icon svg {
  font-size: 20px !important;
  color: #fff !important;
  width: 20px !important;
  height: 20px !important;
}
/* CONTENT */
.card-content {
  flex: 1;
  padding: 14px 16px 14px 12px;
  min-width: 0;
}
.card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-description {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.submenu-indicator {
  font-size: 10px;
  font-weight: 600;
  color: var(--card-color);
  background: color-mix(in srgb, var(--card-color) 10%, transparent);
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--card-color) 20%, transparent);
}
/* ARROW */
.card-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 14px;
  border-radius: 8px;
  color: var(--text-muted);
  background: var(--bg-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.system-card-wrapper:hover .card-arrow {
  background: color-mix(in srgb, var(--card-color) 12%, transparent);
  color: var(--card-color);
  transform: translateX(2px);
}
/* ── SKELETON ── */
.system-card-skeleton {
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--bg-muted);
  animation: skeleton-pulse 1.6s ease-in-out infinite;
  border: 1px solid var(--border);
}
@keyframes skeleton-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .45; }
}
/* ── EMPTY STATE ── */
.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--text-muted);
  font-size: 14px;
  gap: 10px;
}
.empty-state-icon {
  font-size: 36px;
  opacity: .35;
}
/* ================================================
   RIGHT PANELS — SHARED FRAME
================================================ */
.panel-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.panel-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-header-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.panel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.panel-toggle-btn {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-base);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}
.panel-toggle-btn:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}
/* ================================================
   BIRTHDAY PANEL
================================================ */
.birthday-container {
  /* uses .panel-frame */
}
.birthday-container .panel-header-icon {
  background: #FEF3E2;
  color: #D97706;
}
.birthday-list {
  padding: 10px;
  overflow-y: auto;
  max-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.birthday-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-base);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.birthday-card:hover { border-color: #FBBF24; }
.birthday-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-family: 'DM Serif Display', serif;
}
.birthday-info { flex: 1; min-width: 0; }
.birthday-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.birthday-dept {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}
.birthday-date-tag {
  font-size: 10.5px;
  font-weight: 600;
  background: #FEF3E2;
  color: #D97706;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
/* ================================================
   ANNOUNCEMENTS PANEL
================================================ */
.announcement-panel {
  /* uses .panel-frame */
  height: 280px;
}
.announcement-panel.collapsed {
  height: auto;
  min-height: unset;
}
.announcement-panel .panel-header-icon {
  background: var(--accent-soft);
  color: var(--accent);
}
.announcement-body {
  flex: 1;
  overflow: hidden;
  padding: 8px 10px;
}
.marquee-viewport {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  flex-direction: column;
  animation: marqueeScroll 14s linear infinite;
}
.marquee-viewport:hover .marquee-track {
  animation-play-state: paused;
}
.announcement-item {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  transition: border-color var(--transition);
}
.announcement-item:hover { border-color: var(--accent); }
.ann-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 5px;
  flex-shrink: 0;
}
.announcement-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}
@keyframes marqueeScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 1100px) {
  .dashboard-right { width: 260px; min-width: 240px; }
}
@media (max-width: 900px) {
  .branch-dashboard-wrapper { padding: 20px 16px; }
  .dashboard-layout { flex-direction: column; }
  .dashboard-right { width: 100%; min-width: unset; flex-direction: row; flex-wrap: wrap; }
  .panel-frame { flex: 1; min-width: 260px; }
  .vertical-divider { display: none; }
  .announcement-panel { height: 260px; }
}
@media (max-width: 520px) {
  .page-title { font-size: 20px; }
  .systems-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 10px; }
  .stat-chip { min-width: 120px; }
}/* Institute Profile CSS */

/* Main Container */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: inherit;
  }
  
  /* Header Section */
  .profile-header {
    background: linear-gradient(to right, #3b82f6, #4f46e5);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
  }
  
  .profile-header-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .profile-header-content {
      flex-direction: row;
      padding: 2rem;
    }
  }
  
  .profile-avatar {
    width: 6rem;
    height: 6rem;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
  }
  
  .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .profile-title {
    text-align: center;
  }
  
  @media (min-width: 768px) {
    .profile-title {
      text-align: left;
    }
  }
  
  .profile-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin: 0;
  }
  
  @media (min-width: 768px) {
    .profile-name {
      font-size: 2.25rem;
    }
  }
  
  .profile-subtitle {
    color: rgba(219, 234, 254, 1);
    margin-bottom: 0.5rem;
  }
  
  .profile-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  
  @media (min-width: 768px) {
    .profile-tags {
      justify-content: flex-start;
    }
  }
  
  .profile-tag {
    background-color: rgba(30, 64, 175, 0.5);
    color: white;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
  }
  
  .profile-tag svg {
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.25rem;
  }
  
  /* Tab Navigation */
  .profile-tabs {
    background-color: #1e40af;
    padding: 0 1.5rem;
    
  }
  
  .profile-tabs-list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
  }
  
  .profile-tabs-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  .profile-tab {
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(219, 234, 254, 0.8); /* blue-200 */
  }
  
  .profile-tab:hover {
    color: white;
  }
  
  .profile-tab.active {
    color: white;
    border-bottom: 2px solid white;
  }
  
  /* Content Cards */
  .profile-content {
    margin-top: 1.5rem;
  }
  
  .profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    
  }
  
  @media (min-width: 768px) {
    .profile-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .profile-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid black;
    
  }
  
  .profile-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937; /* gray-800 */
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb; /* gray-200 */
  }
  
  .profile-info-group {
    margin-bottom: 1.5rem;
  }
  
  .profile-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }
  
  .profile-info-icon {
    color: #3b82f6; /* blue-500 */
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
  }
  
  .profile-info-icon.success {
    color: #10b981; /* green-500 */
  }
  
  .profile-info-content span {
    display: block;
    font-size: 0.875rem;
    color: #6b7280; /* gray-500 */
  }
  
  .profile-info-content p {
    font-weight: 500;
    margin: 0;
  }
  
  /* Progress Bar */
  .progress-container {
    margin-top: 1rem;
  }
  
  .progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
  }
  
  .progress-label {
    font-size: 0.875rem;
    color: #6b7280; /* gray-500 */
  }
  
  .progress-value {
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 9999px;
  }
  
  .progress-fill {
    height: 100%;
    background-color: #3b82f6; /* blue-500 */
    border-radius: 9999px;
  }
  
  /* Billing Tab */
  .payment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  @media (min-width: 768px) {
    .payment-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .payment-summary {
    background-color: #f9fafb; /* gray-50 */
    padding: 1rem;
    border-radius: 0.5rem;
  }
  
  .payment-summary-title {
    font-weight: 500;
    color: #1f2937; /* gray-800 */
    margin-bottom: 0.75rem;
  }
  
  .payment-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .payment-summary-label {
    color: #4b5563; /* gray-600 */
  }
  
  .payment-summary-value {
    font-weight: 500;
  }
  
  .payment-summary-value.discount {
    color: #10b981; /* green-600 */
  }
  
  .payment-summary-total {
    border-top: 1px solid #e5e7eb; /* gray-200 */
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
  }
  
  .subscription-period {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #eff6ff; /* blue-50 */
    border: 1px solid #dbeafe; /* blue-100 */
    border-radius: 0.5rem;
  }
  
  .subscription-period-title {
    font-weight: 500;
    color: #1e40af; /* blue-800 */
    margin: 0;
  }
  
  .subscription-period-dates {
    color: #1d4ed8; /* blue-700 */
    margin: 0;
  }.marquee-container {
  position: relative;
  overflow: hidden;
  padding: 6px 12px;
}

/* Close */
.marquee-close {
  position: absolute;
  right: 4px;
  top: 4px;
  z-index: 2;
  color: red;
}

/* ======================
   CONTENT
====================== */
.marquee-content {
  display: flex;
  will-change: transform;
}

.marquee-content.paused {
  animation-play-state: paused;
}

/* ======================
   DIRECTION
====================== */
.marquee-container.horizontal .marquee-content {
  animation: marqueeX var(--marquee-duration) linear infinite;
}

.marquee-container.vertical .marquee-content {
  flex-direction: column;
  animation: marqueeY var(--marquee-duration) linear infinite;
}

/* ======================
   SEGMENT
====================== */
.marquee-segment {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.marquee-container.vertical .marquee-segment {
  flex-direction: column;
  gap: 12px;
}

/* ======================
   CHIP
====================== */
.floating-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #bcddf4;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  animation: floatY ease-in-out infinite alternate;
}

.chip-star {
  color: red;
  font-weight: bold;
  margin-right: 6px;
}

/* ======================
   KEYFRAMES
====================== */
@keyframes marqueeX {
  to {
    transform: translateX(calc(-1 * var(--marquee-distance)));
  }
}

@keyframes marqueeY {
  to {
    transform: translateY(calc(-1 * var(--marquee-distance)));
  }
}

@keyframes floatY {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-4px);
  }
}
