:root {
  --lime: #9cee69;
  --lime-deep: #7fd94e;
  --lime-soft: #eafce0;
  --dark: #262626;
  --dark-2: #1c1c1c;
  --white: #ffffff;
  --ink: #262626;
  --muted: #7c7c7c;
  --line: #ececec;
  --page: #f7f8f6;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(38, 38, 38, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--page);
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
}

/* ===== BUTTONS ===== */
.pill-btn {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-block;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.pill-btn.solid {
  background: var(--lime);
  color: var(--dark);
}

.pill-btn.solid:hover {
  background: var(--lime-deep);
}

/* ===== LAYOUT ===== */
.layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  padding: 28px 24px 70px;
}

/* ===== SIDEBAR ===== */
.sidebar {
  background: var(--dark-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 0 20px;
  height: fit-content;
  position: sticky;
  top: 24px;
}

.sidebar .eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lime-deep);
  padding: 18px 22px 8px;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px;
  font-size: 14px;
  color: #b3b3b3;
  font-weight: 500;
  transition: all 0.15s;
}

.sidebar li a:hover {
  background: #f5f5f5;
  color: var(--ink);
}

.sidebar li.active a {
  background: var(--lime-soft);
  color: var(--dark);
  font-weight: 700;
  position: relative;
}

.sidebar li.active a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--lime);
  border-radius: 0 4px 4px 0;
}

.icon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}

.has-submenu > a {
  cursor: pointer;
  position: relative;
}

.submenu-arrow {
  margin-left: auto;
  font-size: 11px;
  color: #aaa;
  transition: transform 0.2s ease;
}

.has-submenu.open .submenu-arrow {
  transform: rotate(180deg);
  color: var(--lime-deep);
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.has-submenu.open .submenu {
  max-height: 200px;
}

.submenu li a {
  font-size: 13px;
  padding: 8px 22px 8px 30px;
  color: #999;
}

.submenu li a:hover {
  color: var(--ink);
}

.sidebar hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 8px 18px;
}

/* ===== MAIN CONTENT ===== */
.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-head {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.eyebrow-tag {
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--lime-deep);
  margin-bottom: 6px;
  display: block;
}

.page-head h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.breadcrumb {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: 999px;
  display: flex;
  gap: 8px;
}

.breadcrumb b {
  color: var(--lime);
  font-weight: 700;
}

/* ===== STAT CARDS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.2s;
}

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

.stat-card .label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.stat-card .value {
  font-size: 26px;
  font-weight: 800;
  margin-top: 6px;
  color: var(--ink);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--lime-soft);
  color: var(--lime-deep);
}

/* SVG Vector Icon Badges */
.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.stat-card:hover .stat-icon-wrap {
  transform: scale(1.08);
}

.stat-icon-wrap.lime-badge {
  background: var(--lime-soft, #f0fae8);
  color: var(--lime-deep, #469613);
  border: 1px solid rgba(156, 238, 105, 0.3);
}

.stat-icon-wrap.dark-badge {
  background: #252525;
  color: var(--lime, #9cee69);
}

.stat-icon-wrap.blue-badge {
  background: #e0f2fe;
  color: #0284c7;
}

.stat-icon-wrap.danger-badge {
  background: #ffebee;
  color: #d9455f;
}

/* ===== INFO CARDS ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.info-card h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lime-deep);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: #666;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row b {
  color: var(--ink);
  font-weight: 700;
}

.empty-note {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
}

/* ===== PANELS & TABLES ===== */
.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
}

.panel-head .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.panel-body {
  padding: 0 26px 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

tbody td {
  padding: 16px 12px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  color: #4a4a4a;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: #fafafa;
}

/* Table Empty State Row (Full Width & Center Aligned) */
td.empty-state {
  text-align: center !important;
  padding: 40px 16px !important;
  color: var(--muted);
}

.empty-state-content {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
}

.empty-state-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f7f9f6;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}

.empty-state-wrap {
  text-align: center;
  padding: 36px 20px;
}

.empty-state-text {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}

.status-pill.pending {
  background: #f1f1f1;
  color: #8a8a8a;
}

.status-pill.done {
  background: var(--lime-soft);
  color: var(--lime-deep);
}

/* ===== ACTION BAND ===== */
.action-band {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.action-band h3 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 19px;
}

.action-band p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 13.5px;
}

.action-band .pill-btn.solid {
  padding: 11px 24px;
}

/* ===== MANAGE JOBS TABS ===== */
.tab-bar {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tab-pill {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.18s;
}

.tab-pill:hover {
  color: #fff;
}

.tab-pill.active {
  background: var(--lime);
  color: var(--dark);
}

.tab-bar-icon {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
}

.plain-list {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
  color: #4a4a4a;
  font-size: 14.5px;
}

.plain-list li {
  padding: 4px 0;
}

/* ===== MAIL VIEW ===== */
.mail-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}

.mail-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mail-nav-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14.5px;
  color: #9a9a9a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.mail-nav-item:hover {
  color: var(--ink);
}

.mail-nav-item.active {
  color: var(--lime-deep);
  border-color: var(--lime-soft);
  background: var(--lime-soft);
}

.mail-count {
  background: var(--lime);
  color: var(--dark);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.mail-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.mail-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mail-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: #666;
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fafafa;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.btn-ghost:hover {
  background: var(--lime-soft);
  border-color: var(--lime-soft);
  color: var(--lime-deep);
}

.mail-select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink);
}

.mail-select.small {
  padding: 4px 8px;
  margin: 0 4px;
}

.mail-table-box {
  border: 1.5px solid var(--lime-soft);
  border-radius: 16px;
  padding: 18px 20px;
}

.mail-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #666;
  margin-bottom: 14px;
}

.mail-search input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13.5px;
  margin-left: 6px;
}

.mail-empty-row {
  background: var(--lime-soft);
  color: #3d3d3d;
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.mail-table-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
  color: #888;
}

.mail-pagination a {
  margin-left: 16px;
  color: var(--lime-deep);
  font-weight: 600;
}

/* Compose form */
.compose-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--lime-deep);
}

.form-row input, 
.form-row textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  resize: vertical;
}

.form-row input:focus, 
.form-row textarea:focus {
  outline: none;
  border-color: var(--lime);
}

.compose-form .pill-btn.solid {
  align-self: flex-start;
  padding: 12px 26px;
}

/* ===== PAYMENT VIEWS ===== */
.balance-pill {
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 16px 34px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.balance-pill b {
  color: var(--lime-deep);
}

.form-row select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}

.field-with-btn {
  display: flex;
  gap: 10px;
}

.field-with-btn input {
  flex: 1;
}

.field-with-btn .pill-btn.solid {
  padding: 0 26px;
}

.hint-text {
  font-size: 12.5px;
  color: var(--muted);
  margin: -4px 0 0;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radio-row input {
  accent-color: var(--lime-deep);
  width: 16px;
  height: 16px;
}

.data-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.entries-control {
  font-size: 13.5px;
  color: #666;
}

.entries-control select {
  margin: 0 6px;
}

.btn-export {
  background: var(--lime);
  color: var(--dark);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 13.5px;
}

.btn-export:hover {
  background: var(--lime-deep);
}

.search-control {
  font-size: 13.5px;
  color: #666;
}

.search-control input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13.5px;
  margin-left: 6px;
}

.data-empty-row td {
  text-align: center;
  color: var(--muted);
  padding: 24px 12px;
}

.data-panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.data-panel-foot a {
  margin-left: 16px;
  color: var(--lime-deep);
  font-weight: 600;
}

/* ===== CANCEL / MEMBER LIST / INVOICE / REFERRAL ===== */
.panel-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}

.panel-head-row h4 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-action {
  color: var(--lime-deep);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

.link-action:hover {
  text-decoration: underline;
}

.breadcrumb-list {
  list-style: disc;
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 13.5px;
  color: #555;
}

.breadcrumb-list a {
  color: var(--lime-deep);
  font-weight: 600;
}

.code-box {
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #555;
  word-break: break-all;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  display: block;
}

.stat-line {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}

.table-link {
  color: var(--lime-deep);
  font-weight: 600;
  cursor: pointer;
}

.table-link:hover {
  text-decoration: underline;
}

.warning-text {
  color: #d9455f;
  font-weight: 600;
  font-size: 14px;
}

/* ===== PROFILE VIEW ===== */
.profile-top {
  display: flex;
  gap: 34px;
  padding: 26px 28px;
}

.profile-photo {
  width: 230px;
  height: 230px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fafafa;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--muted);
  overflow: hidden;
}

.profile-info h1 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
}

.profile-info .meta {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.profile-info .location {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2fae5c;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 16px;
  border-radius: 8px;
}

.profile-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 28px;
}

.profile-bottom h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 10px;
}

.profile-bottom h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 18px 0 10px;
}

.about-empty {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.mini-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mini-stat {
  background: var(--lime-soft);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13.5px;
  color: #3d3d3d;
}

.mini-stat b {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 2px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}

.skill-tag {
  background: #eef4ff;
  color: #2a52d6;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
}

/* ===== EDIT PROFILE FORM ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}

.form-grid .form-row {
  margin-bottom: 2px;
}

.form-row label {
  font-size: 13px;
  font-weight: 700;
  color: #444;
  text-transform: none;
  letter-spacing: 0;
}

.form-row label.req::after {
  content: " *";
  color: #d9455f;
}

.form-row input[type="text"], 
.form-row input[type="password"], 
.form-row input[type="email"], 
.form-row input[type="number"] {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  width: 100%;
}

.form-row input:focus, 
.form-row textarea:focus {
  outline: none;
  border-color: var(--lime);
}

.photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  background: #eaf2ff;
}

.file-input-row {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  font-size: 13.5px;
}

.file-input-row .choose-btn {
  background: #f0f0f0;
  padding: 10px 16px;
  font-weight: 600;
  color: #444;
  border-right: 1px solid var(--line);
}

.file-input-row .file-name {
  padding: 10px 16px;
  color: var(--muted);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}

.skill-group h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
}

.check-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--lime-deep);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 6px 0 4px;
}

/* ===== CALENDAR ===== */
.cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px 0;
}

.cal-toolbar h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.cal-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cal-nav button {
  border: 1px solid var(--line);
  background: #fafafa;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
}

.cal-nav .today-btn {
  width: auto;
  padding: 0 16px;
  font-weight: 600;
  font-size: 13px;
}

.cal-nav button:hover {
  background: var(--lime-soft);
  border-color: var(--lime-soft);
  color: var(--lime-deep);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: 20px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.cal-grid .cal-head {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 700;
}

.cal-cell {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  min-height: 80px;
  padding: 10px;
  font-size: 13.5px;
  color: #555;
}

.cal-cell:nth-child(7n + 1) {
  border-left: none;
}

.cal-cell.muted {
  color: #c9c9c9;
}

.cal-cell.today {
  background: var(--lime-soft);
  font-weight: 800;
  color: var(--ink);
}

/* ===== MOBILE OFF-CANVAS DRAWER SIDEBAR ===== */
.sidebar-toggle-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--dark);
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  font-size: 22px;
  cursor: pointer;
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr !important;
    padding: 16px 14px 60px;
  }

  .sidebar-toggle-btn {
    display: flex;
  }

  /* Off-canvas drawer */
  .sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 20px 20px 0 !important;
    z-index: 1000 !important;
    overflow-y: auto;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
  }

  .sidebar.mobile-open {
    transform: translateX(0) !important;
  }

  .stats-grid, 
  .info-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .mail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .profile-top {
    flex-direction: column;
  }
  .profile-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .stats-grid, 
  .info-grid {
    grid-template-columns: 1fr !important;
  }
}