/* ============================================================
   GHV Hub — Main Stylesheet
   Poppins font + GHV brand (#05ac13 green, #101010 black)
   ============================================================ */

:root {
  --green:      #05ac13;
  --green-dark: #048a0f;
  --green-glow: rgba(5,172,19,0.16);
  --black:      #101010;
  --black2:     #181818;
  --black3:     #1f1f1f;
  --card:       #222222;
  --card2:      #272727;
  --gray-light: #333333;
  --text:       #f0f0f0;
  --text-muted: #888888;
  --white:      #ffffff;
  --yellow:     #f39c12;
  --blue:       #3498db;
  --red:        #e74c3c;
  --teal:       #1abc9c;
  --purple:     #9b59b6;

  --sb-w:   260px;
  --sb-col: 64px;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--black);
  color: var(--text);
  min-height: 100vh;
}

.green { color: var(--green); }
.green-icon { color: var(--green); }

/* ── LOGIN ────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(5,172,19,0.09) 0%, transparent 70%);
  top: -200px; left: -200px; border-radius: 50%;
  animation: breathe 5s ease-in-out infinite;
}

.login-page::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(5,172,19,0.06) 0%, transparent 70%);
  bottom: -100px; right: -100px; border-radius: 50%;
  animation: breathe 5s ease-in-out infinite reverse;
}

@keyframes breathe { 0%,100%{transform:scale(1)} 50%{transform:scale(1.15)} }

.login-wrap {
  display: flex;
  width: 100%;
  max-width: 900px;
  min-height: 520px;
  background: var(--black2);
  border: 1px solid var(--gray-light);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s cubic-bezier(0.16,1,0.3,1);
  margin: 24px;
}

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

.login-left {
  flex: 1;
  background: linear-gradient(145deg, #0d1f0e, #1a3d1c, #0a2b0c);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(5,172,19,0.2) 0%, transparent 70%);
  bottom: -80px; right: -80px; border-radius: 50%;
}

.ll-logo { margin-bottom: 36px; }

.login-left h2 {
  font-size: 30px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.login-left p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 28px;
}

.ll-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  margin-bottom: 9px;
}

.ll-feature i {
  width: 26px; height: 26px;
  background: rgba(5,172,19,0.2);
  border: 1px solid rgba(5,172,19,0.3);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 11px;
  flex-shrink: 0;
}

.login-right {
  width: 380px;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-right h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.login-right .sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-grp { margin-bottom: 14px; }

.form-grp label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 7px;
}

.inp-wrap { position: relative; }
.inp-wrap i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 13px; }

.form-grp input {
  width: 100%;
  background: var(--black3);
  border: 1px solid var(--gray-light);
  border-radius: 9px;
  padding: 11px 13px 11px 38px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-grp input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.login-error {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 9px;
  padding: 13px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(5,172,19,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login:hover { background: var(--green-dark); }
.btn-login:active { transform: scale(0.98); }

.login-hint {
  text-align: center;
  margin-top: 18px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── SIDEBAR ──────────────────────────────────────────── */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sb-w);
  background: var(--black2);
  border-right: 1px solid var(--gray-light);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}

.sidebar.collapsed { width: var(--sb-col); }

.sb-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--gray-light);
  flex-shrink: 0;
}

.sb-logo {
  width: 36px; height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(5,172,19,0.4);
  cursor: pointer;
  overflow: hidden;
}

.sb-brand {
  overflow: hidden;
  transition: opacity 0.2s, max-width 0.3s;
  max-width: 180px;
}

.sidebar.collapsed .sb-brand { max-width: 0; opacity: 0; }

.sb-bname {
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.sb-bname span { color: var(--green); }

.sb-bsub {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.sb-toggle {
  margin-left: auto;
  width: 26px; height: 26px;
  background: var(--black3);
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 10px;
  flex-shrink: 0;
  transition: all 0.15s;
}

.sb-toggle:hover { color: var(--text); }
.sidebar.collapsed .sb-toggle { margin-left: 0; }

.sb-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-nav::-webkit-scrollbar { width: 3px; }
.sb-nav::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 2px; }

.nav-sec { margin-top: 6px; }

.nav-sec-lbl {
  font-size: 8.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 9px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.sidebar.collapsed .nav-sec-lbl { opacity: 0; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav-item:hover { background: var(--black3); color: var(--text); }

.nav-item.active {
  background: rgba(5,172,19,0.11);
  color: var(--green);
  border: 1px solid rgba(5,172,19,0.2);
}

.nav-icon {
  width: 17px;
  text-align: center;
  font-size: 13px;
  flex-shrink: 0;
}

.nav-txt {
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s, max-width 0.3s;
  max-width: 170px;
}

.sidebar.collapsed .nav-txt { max-width: 0; opacity: 0; }

.nav-bdg {
  margin-left: auto;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  flex-shrink: 0;
  background: var(--green);
  color: white;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-bdg.orange { background: var(--yellow); }
.nav-bdg.blue   { background: var(--blue); }
.sidebar.collapsed .nav-bdg { opacity: 0; }

.sb-foot {
  border-top: 1px solid var(--gray-light);
  padding: 8px 7px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sb-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s;
  text-decoration: none;
  flex: 1;
  overflow: hidden;
}

.sb-user:hover { background: var(--black3); }

.user-av {
  width: 32px; height: 32px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.user-inf {
  overflow: hidden;
  transition: opacity 0.2s, max-width 0.3s;
  max-width: 170px;
}

.sidebar.collapsed .user-inf { max-width: 0; opacity: 0; }

.u-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.u-role { font-size: 10px; color: var(--green); font-weight: 500; }

.sb-logout {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 7px;
  transition: all 0.15s;
  flex-shrink: 0;
}

.sb-logout:hover { color: var(--red); background: rgba(231,76,60,0.1); }

/* ── MAIN CONTENT ─────────────────────────────────────── */
.main-content {
  margin-left: var(--sb-w);
  transition: margin-left 0.3s cubic-bezier(0.16,1,0.3,1);
  min-height: 100vh;
  padding: 18px 22px;
}

.main-content.sb-collapsed { margin-left: var(--sb-col); }

/* ── TOPBAR ───────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.topbar-l { flex: 1; }

.page-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

.page-sub { font-size: 11px; color: var(--text-muted); }

.topbar-r {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.tb-btn {
  width: 32px; height: 32px;
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 12px;
  transition: all 0.12s;
  text-decoration: none;
  position: relative;
}

.tb-btn:hover { color: var(--text); background: var(--card2); }
.tb-btn.has-notif .fas { color: var(--green); }

.ndot {
  position: absolute;
  top: 6px; right: 6px;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--black2);
}

.tb-clock {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-radius: 7px;
  padding: 6px 12px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ── GRID ─────────────────────────────────────────────── */
.hub-grid { display: grid; gap: 12px; }
.hub-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.hub-grid-2 { grid-template-columns: 1fr 1fr; }
.span-2 { grid-column: span 2; }
.mb-grid { margin-bottom: 12px; }

/* ── HUB CARDS ────────────────────────────────────────── */
.hub-card {
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-radius: 13px;
  padding: 16px;
  transition: border-color 0.2s;
}

.hub-card:hover { border-color: rgba(5,172,19,0.22); }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.card-lbl {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-lnk {
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.card-lnk:hover { opacity: 0.7; }

/* ── TIME TRACKER ─────────────────────────────────────── */
.time-display {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.elapsed-big {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.elapsed-unit {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.work-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 14px;
  background: rgba(102,103,105,0.1);
  border: 1px solid rgba(102,103,105,0.2);
  color: var(--text-muted);
}

.work-pill.active {
  background: rgba(5,172,19,0.1);
  border-color: rgba(5,172,19,0.25);
  color: var(--green);
}

.work-pill.lunch {
  background: rgba(243,156,18,0.1);
  border-color: rgba(243,156,18,0.25);
  color: var(--yellow);
}

.ws-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.work-pill.active .ws-dot { animation: blink 1.4s infinite; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.clock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 7px;
}

.cbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 9px;
  border: 1px solid var(--gray-light);
  background: var(--card2);
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.cbtn i { font-size: 15px; }
.cbtn:hover:not(:disabled) { transform: translateY(-2px); }
.cbtn:active:not(:disabled) { transform: scale(0.96); }
.cbtn:disabled { opacity: 0.3; cursor: not-allowed; }

.cbtn.green  { background: var(--green); border-color: var(--green); color: white; box-shadow: 0 4px 14px rgba(5,172,19,0.3); }
.cbtn.red    { background: rgba(231,76,60,0.09); border-color: rgba(231,76,60,0.28); color: var(--red); }
.cbtn.yellow { background: rgba(243,156,18,0.09); border-color: rgba(243,156,18,0.28); color: var(--yellow); }
.cbtn.teal   { background: rgba(26,188,156,0.09); border-color: rgba(26,188,156,0.28); color: var(--teal); }

/* ── TODAY STATUS ─────────────────────────────────────── */
.stat-rows { display: flex; flex-direction: column; gap: 7px; }

.stat-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  background: var(--card2);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
}

.si {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.si-g { background: rgba(5,172,19,0.12); color: var(--green); }
.si-y { background: rgba(243,156,18,0.12); color: var(--yellow); }
.si-b { background: rgba(52,152,219,0.12); color: var(--blue); }
.si-p { background: rgba(155,89,182,0.12); color: var(--purple); }

.si-inf { flex: 1; }
.si-name { font-size: 11px; font-weight: 600; color: var(--text); }
.si-sub  { font-size: 10px; color: var(--text-muted); }
.si-val  { font-size: 10px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }

/* ── ANNOUNCEMENTS ────────────────────────────────────── */
.ann-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--gray-light);
}

.ann-item:last-child { border-bottom: none; padding-bottom: 0; }

.ann-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 5px;
  flex-shrink: 0;
}

.ann-dot.urgent { background: var(--red); }

.ann-body { flex: 1; font-size: 12px; color: var(--text); line-height: 1.5; }
.ann-text { color: var(--text-muted); }
.ann-time { font-size: 10px; color: var(--text-muted); white-space: nowrap; margin-top: 2px; }

/* ── QUICK TOOLS ──────────────────────────────────────── */
.tools-g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--card2);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  transition: all 0.18s;
  text-align: center;
}

.tool-btn:hover {
  background: var(--black3);
  border-color: rgba(5,172,19,0.28);
  transform: translateY(-2px);
}

.tool-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
}

.tool-name { font-size: 10px; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ── GHV CARD WIDGET ─────────────────────────────────── */
.card-widget-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.card-actions-row {
  display: flex;
  gap: 7px;
  width: 100%;
}

.ca-btn {
  flex: 1;
  padding: 7px;
  background: var(--card2);
  border: 1px solid var(--gray-light);
  border-radius: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 5px;
  transition: all 0.12s;
  text-decoration: none;
}

.ca-btn:hover { color: var(--text); background: var(--black3); }
.ca-btn.primary { background: rgba(5,172,19,0.1); border-color: rgba(5,172,19,0.28); color: var(--green); }

.empty-card-state {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 12px;
}

.empty-card-state i { font-size: 32px; margin-bottom: 10px; display: block; opacity: 0.3; }

/* ── ACADEMY PROGRESS ────────────────────────────────── */
.prog-list { display: flex; flex-direction: column; gap: 11px; }
.prog-meta { display: flex; justify-content: space-between; margin-bottom: 4px; }
.prog-name { font-size: 11px; font-weight: 600; color: var(--text); }
.prog-pct  { font-size: 10px; font-weight: 700; color: var(--green); }
.prog-bar  { height: 5px; background: var(--gray-light); border-radius: 3px; overflow: hidden; }
.prog-fill { height: 100%; background: var(--green); border-radius: 3px; }

/* ── COMPANY FORMS ───────────────────────────────────── */
.form-links { display: flex; flex-direction: column; gap: 6px; }

.flink {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  background: var(--card2);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 500;
  transition: all 0.12s;
}

.flink:hover {
  background: var(--black3);
  border-color: rgba(5,172,19,0.28);
  color: var(--green);
}

.flink-ico {
  width: 26px; height: 26px;
  background: rgba(5,172,19,0.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 11px;
  flex-shrink: 0;
}

.flink-ext { margin-left: auto; color: var(--text-muted); font-size: 9px; }

/* ── DAILY REPORT ─────────────────────────────────────── */
.report-submitted-badge {
  background: rgba(5,172,19,0.08);
  border: 1px solid rgba(5,172,19,0.2);
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-ta {
  width: 100%;
  background: var(--card2);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 10px 13px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--text);
  resize: vertical;
  min-height: 64px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 7px;
}

.report-ta:focus { border-color: var(--green); }
.report-ta::placeholder { color: var(--text-muted); }

.report-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.report-hint { font-size: 10px; color: var(--text-muted); }

.btn-sub {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 7px;
  padding: 8px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  box-shadow: 0 4px 14px rgba(5,172,19,0.28);
  transition: all 0.18s;
  white-space: nowrap;
}

.btn-sub:hover { background: var(--green-dark); }

/* ── EMPTY STATE ──────────────────────────────────────── */
.empty-state {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

/* ── TOAST ────────────────────────────────────────────── */
.ghv-toast {
  position: fixed;
  bottom: 18px; right: 18px;
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-left: 3px solid var(--green);
  border-radius: 9px;
  padding: 11px 15px;
  display: flex; align-items: center; gap: 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  z-index: 9999;
  animation: toastIn 0.3s cubic-bezier(0.16,1,0.3,1);
  max-width: 300px;
}

@keyframes toastIn { from{opacity:0;transform:translateY(14px) scale(0.95)} to{opacity:1;transform:translateY(0) scale(1)} }

/* ── RESPONSIVE ───────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 3px; }

@media (max-width: 1100px) {
  .hub-grid-3 { grid-template-columns: 1fr 1fr; }
  .span-2 { grid-column: span 2; }
}

@media (max-width: 750px) {
  .sidebar { width: var(--sb-col); }
  .sidebar .sb-brand, .sidebar .nav-txt, .sidebar .nav-bdg,
  .sidebar .user-inf, .sidebar .nav-sec-lbl { max-width: 0; opacity: 0; }
  .main-content { margin-left: var(--sb-col); padding: 12px; }
  .hub-grid-3, .hub-grid-2 { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .clock-grid { grid-template-columns: 1fr 1fr; }
  .elapsed-big { font-size: 30px; }
  .login-left { display: none; }
  .login-right { width: 100%; padding: 40px 28px; }
  .login-wrap { max-width: 420px; }
}


/* Lunch Countdown */
.lunch-countdown {
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

.countdown-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.countdown-display {
  display: flex;
  align-items: center;
  gap: 12px;
}

.countdown-time {
  font-size: 32px;
  font-weight: 700;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  flex: 1;
}

.countdown-status {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.countdown-status.ok {
  background: rgba(5, 172, 19, 0.15);
  color: var(--green);
}

.countdown-status.overbreak {
  background: rgba(231, 76, 60, 0.15);
  color: var(--red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Time Actions */
.time-actions {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.time-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.time-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.time-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.time-btn-primary {
  background: var(--green);
  color: white;
}

.time-btn-primary:hover:not(:disabled) {
  background: var(--green-dark);
}

.time-btn-danger {
  background: var(--red);
  color: white;
}

.time-btn-warning {
  background: var(--yellow);
  color: var(--black);
}

.time-btn-success {
  background: var(--teal);
  color: white;
}

/* Notification Toast */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 9999;
  animation: slideIn 0.3s ease-out;
  transition: opacity 0.3s;
}

.notification-success {
  border-left: 4px solid var(--green);
}

.notification-error {
  border-left: 4px solid var(--red);
}

.notification i {
  font-size: 20px;
}

.notification-success i {
  color: var(--green);
}

.notification-error i {
  color: var(--red);
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Status Indicator */
.time-status {
  margin-bottom: 16px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.status-indicator.working {
  background: rgba(5, 172, 19, 0.1);
  color: var(--green);
}

.status-indicator.lunch {
  background: rgba(243, 156, 18, 0.1);
  color: var(--yellow);
}

.status-indicator.offline {
  background: rgba(136, 136, 136, 0.1);
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 2s ease-in-out infinite;
}

.status-indicator.offline .status-dot {
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Time Display */
.time-display {
  background: rgba(5, 172, 19, 0.05);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: center;
}

.time-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.time-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

/* Time Summary */
.time-summary {
  background: var(--card2);
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}

.summary-item i {
  color: var(--green);
  font-size: 14px;
}

/* UPDATED LUNCH COUNTDOWN STYLES - Bigger & Bolder */
.lunch-countdown {
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  text-align: center;
}

.countdown-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.countdown-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.countdown-time {
  font-size: 48px;  /* BIGGER */
  font-weight: 800;  /* BOLDER */
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin: 8px 0;
}

.countdown-status {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.countdown-status.ok {
  background: rgba(5, 172, 19, 0.15);
  color: var(--green);
}

.countdown-status.overbreak {
  background: rgba(231, 76, 60, 0.15);
  color: var(--red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}