/* WorkTime Mobile App - Dedicated Mobile UI/UX Design System */
:root {
  --primary-blue: #1677f2;
  --primary-navy: #102d63;
  --dark-text: #0f172a;
  --muted-text: #64748b;
  --light-bg: #f5f8fc;
  --card-bg: #ffffff;
  --success-green: #10b981;
  --danger-red: #ef4444;
  --warning-amber: #f59e0b;
  --purple-accent: #8b5cf6;
  --app-max-width: 430px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #e2e8f0;
  color: var(--dark-text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

/* Outer Desktop Wrapper simulating mobile screen */
.mobile-app-wrapper {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  background: radial-gradient(circle at 10% 5%, rgba(22, 119, 242, 0.06) 0%, transparent 45%),
              radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
              radial-gradient(circle at 50% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
              linear-gradient(180deg, #f0f4f9 0%, #f8fafc 100%);
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

@media (max-width: 480px) {
  body {
    background: #f8fafc;
  }
  .mobile-app-wrapper {
    box-shadow: none;
    max-width: 100%;
  }
}

/* Top Status Bar Disabled */
.mobile-status-bar {
  display: none !important;
}

/* Top App Header */
.mobile-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 12px;
  background: transparent;
}
.header-menu-btn, .header-icon-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #1e293b;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.15s ease;
}
.header-menu-btn:active, .header-icon-btn:active {
  transform: scale(0.92);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.header-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1677f2;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(22, 119, 242, 0.35);
}
.header-brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: #102d63;
  letter-spacing: -0.5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
}
.header-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #1677f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1677f2;
  font-size: 1.1rem;
}

/* Main Scrollable Content Area */
.mobile-app-content {
  flex: 1;
  padding: 0 16px 96px; /* bottom padding for frozen bottom bar */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Profile Card - Liquid Glassmorphism & Shadow */
.app-profile-card {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border-radius: 20px !important;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px -4px rgba(16, 45, 99, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}
.app-profile-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-avatar-wrapper {
  position: relative;
  width: 52px;
  height: 52px;
}
.app-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 12px rgba(22, 119, 242, 0.15);
}
.app-avatar-status-dot {
  position: absolute;
  bottom: 0;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 8px #10b981;
}
.app-profile-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}
.app-profile-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
}
.app-empid-pill {
  background: #eff6ff;
  color: #1677f2;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  font-family: monospace;
}
.app-profile-role {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}
.app-profile-company {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 90px;
}
.app-company-icon {
  font-size: 1.25rem;
  color: #93c5fd;
  margin-bottom: 3px;
}
.app-company-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.2;
}

/* Duty Time Row (Split 2-Card Banner) */
.app-duty-banner {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-radius: 18px !important;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 6px 20px rgba(16, 45, 99, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  margin-bottom: 14px;
}
.duty-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.duty-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1677f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(22, 119, 242, 0.1);
}
.duty-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.duty-value {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1677f2;
  white-space: nowrap;
}
.duty-value-navy {
  color: #0f172a;
}

/* The Attendance Hero Clock Section (3 Columns) */
.app-clock-section {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

/* Left / Right Punch Card - Liquid Tinted */
.punch-card {
  border-radius: 18px !important;
  padding: 14px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.punch-card:hover {
  transform: translateY(-2px);
}
.punch-card-in {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.95), rgba(220, 252, 231, 0.8));
  border: 1px solid rgba(187, 247, 208, 0.95);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.punch-card-out {
  background: linear-gradient(135deg, rgba(254, 242, 242, 0.95), rgba(254, 226, 226, 0.8));
  border: 1px solid rgba(254, 202, 202, 0.95);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.punch-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.punch-icon-in {
  color: #16a34a;
}
.punch-icon-out {
  color: #ef4444;
}
.punch-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}
.punch-pill-time {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-family: monospace;
}
.pill-time-in {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.35);
}
.pill-time-out {
  background: #fee2e2;
  color: #ef4444;
}

/* Center Live Circular Clock - Glowing Liquid Ring */
.clock-center-circle {
  background: #ffffff;
  border-radius: 50%;
  width: 142px;
  height: 142px;
  margin: 0 auto;
  border: 6px solid #10b981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.32), inset 0 0 14px rgba(16, 185, 129, 0.12);
  position: relative;
  transition: all 0.3s ease;
}
.clock-today-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.clock-date-sub {
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 4px;
}
.clock-live-time {
  font-size: 0.98rem;
  font-weight: 900;
  color: #0f172a;
  font-family: monospace;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.clock-status-pill {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #a7f3d0;
}
.status-pulsing-dot {
  width: 5px;
  height: 5px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
  animation: pulse-ring 1.5s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Action Buttons Row */
.app-action-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.btn-app-break {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #ef4444;
  color: #ef4444;
  border-radius: 30px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.08);
}
.btn-app-break:active {
  transform: scale(0.97);
  background: #fef2f2;
}
.btn-app-break.on-break {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #b45309;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
}
.btn-app-punch {
  flex: 1.2;
  border: none;
  border-radius: 30px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s ease;
}
.btn-punch-out {
  background: linear-gradient(90deg, #f43f5e 0%, #ef4444 50%, #f97316 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.38);
}
.btn-punch-in {
  background: linear-gradient(90deg, #10b981 0%, #16a34a 100%);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.38);
}
.btn-app-punch:active {
  transform: scale(0.97);
}

/* 4 Key Metrics Bar */
.app-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  border-radius: 18px !important;
  padding: 12px 6px;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 6px 20px rgba(16, 45, 99, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  margin-bottom: 14px;
}
.metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2px;
}
.metric-box:not(:last-child) {
  border-right: 1px solid #f1f5f9;
}
.metric-top {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
  white-space: nowrap;
}
.metric-val {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.val-green { color: #16a34a; }
.val-blue  { color: #0f172a; }
.val-amber { color: #f59e0b; }
.val-navy  { color: #1677f2; }

/* 8 Shortcut App Grid (4 x 2) */
.app-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 16px;
}
.app-shortcut-item {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: 18px !important;
  padding: 14px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #1e293b;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 4px 15px rgba(16, 45, 99, 0.03), 0 0 0 1px rgba(255, 255, 255, 0.8) inset !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.app-shortcut-item:active {
  transform: scale(0.94);
  background: #ffffff;
}
.app-shortcut-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}
.icon-profile   { background: #eff6ff; color: #1677f2; }
.icon-company   { background: #f5f3ff; color: #8b5cf6; }
.icon-bank      { background: #ecfdf5; color: #10b981; }
.icon-pan       { background: #fff7ed; color: #ea580c; }
.icon-esi       { background: #fdf2f8; color: #db2777; }
.icon-uan       { background: #eff6ff; color: #0284c7; }
.icon-salary    { background: #f5f3ff; color: #7c3aed; }
.icon-slip      { background: #fef2f2; color: #ef4444; }

.app-shortcut-label {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1e293b;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Frozen & Enhanced Bottom Mobile Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: calc(70px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
  z-index: 1050;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.nav-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #64748b;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 7px 6px;
  border-radius: 15px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.nav-tab-item:hover {
  color: #1677f2;
  background: rgba(22, 119, 242, 0.06);
}
.nav-tab-item:active {
  transform: scale(0.93);
}
.nav-tab-item i {
  font-size: 1.12rem;
  line-height: 1;
  transition: transform 0.22s ease;
}
.nav-tab-item.active {
  background: linear-gradient(135deg, #1677f2 0%, #2563eb 100%);
  color: #ffffff;
  padding: 8px 8px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(22, 119, 242, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  transform: translateY(-2px);
}
.nav-tab-item.active:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1677f2 0%, #1d4ed8 100%);
}
.nav-tab-item.active i {
  color: #ffffff;
  transform: scale(1.06);
}

/* Offcanvas Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 290px;
  max-width: 80%;
  background: #ffffff;
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
}
.mobile-drawer-overlay.open .mobile-drawer {
  transform: translateX(0);
}
.drawer-header {
  padding: 24px 20px 16px;
  background: linear-gradient(135deg, #102d63 0%, #1677f2 100%);
  color: #ffffff;
}
.drawer-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-bottom: 10px;
  object-fit: cover;
}
.drawer-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.drawer-role {
  font-size: 0.78rem;
  opacity: 0.85;
}
.drawer-menu {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.15s ease;
}
.drawer-item:hover, .drawer-item.active {
  background: #eff6ff;
  color: #1677f2;
}
.drawer-footer {
  padding: 14px 20px;
  border-top: 1px solid #f1f5f9;
}
.drawer-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ef4444;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

/* ==========================================================================
   MOBILE LOGIN SCREEN (Matches Mockup media_1793786173766_4015d9da)
   ========================================================================== */
.mobile-login-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 30px 24px 28px;
  background: radial-gradient(circle at 10% 8%, rgba(22, 119, 242, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 12%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 50% 95%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
              linear-gradient(180deg, #f8faff 0%, #f1f6fd 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle background curve decorative element */
.mobile-login-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: radial-gradient(ellipse 120% 100% at 50% 100%, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.03) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Logo Box */
.mobile-login-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 12px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.mobile-login-logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid #1677f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(22, 119, 242, 0.35);
}

.mobile-login-logo-circle i {
  color: #10b981;
  font-size: 1.6rem;
  font-weight: 900;
}

.mobile-login-brand {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f274a;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.mobile-login-portal-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 18px;
  background: #e9f2ff;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

/* Hero 3D Illustration */
.mobile-login-hero-img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 14px;
  max-width: 260px;
  position: relative;
  z-index: 2;
}

.mobile-login-hero-img {
  width: 100%;
  height: auto;
  max-height: 175px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(15, 39, 74, 0.12));
}

/* Heading */
.mobile-login-heading {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.mobile-login-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: #0d2347;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.mobile-login-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: #64748b;
}

/* Form */
.mobile-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.mobile-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.mobile-input-icon {
  position: absolute;
  left: 18px;
  color: #94a3b8;
  font-size: 1.05rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.mobile-input-field {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f274a;
  background: #ffffff;
  border: 1.5px solid #dbe4f0;
  border-radius: 20px;
  box-shadow: 0 3px 8px -2px rgba(15, 39, 74, 0.05);
  transition: all 0.2s ease;
  outline: none;
}

.mobile-input-field:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 4px 12px -2px rgba(37, 99, 235, 0.1);
}

.mobile-input-group:focus-within .mobile-input-icon {
  color: #2563eb;
}

.mobile-input-eye {
  position: absolute;
  right: 18px;
  color: #94a3b8;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 6px;
  user-select: none;
  transition: color 0.2s ease;
}

.mobile-input-eye:hover {
  color: #1e293b;
}

/* Options */
.mobile-login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px 4px;
  font-size: 0.88rem;
}

.mobile-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0;
  user-select: none;
}

.mobile-login-remember input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #cbd5e1;
  cursor: pointer;
}

.mobile-login-remember input[type="checkbox"]:checked {
  background-color: #1677f2;
  border-color: #1677f2;
}

.mobile-login-forgot {
  color: #1677f2;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-login-forgot:hover {
  color: #0d5ec4;
  text-decoration: underline;
}

/* Sign In Button */
.btn-mobile-signin {
  width: 100%;
  height: 52px;
  margin-top: 4px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(90deg, #1677f2 0%, #0c61d8 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 24px -5px rgba(22, 119, 242, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-mobile-signin:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px -2px rgba(22, 119, 242, 0.35);
}

/* Bottom Bar */
.mobile-login-bottom-bar {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 24px;
  padding: 12px 14px;
  box-shadow: 0 12px 30px -10px rgba(15, 39, 74, 0.12);
  position: relative;
  z-index: 2;
}

.login-bottom-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  padding: 6px 2px;
  border-radius: 14px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.login-bottom-pill:active {
  transform: scale(0.95);
  background: #f1f5f9;
}

.login-bottom-pill i {
  font-size: 1.25rem;
}

.login-bottom-pill span {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1e293b;
}

.icon-green-text {
  color: #10b981;
}

.icon-purple-text {
  color: #8b5cf6;
}

.icon-orange-text {
  color: #f97316;
}

.icon-blue-text {
  color: #1677f2;
}


/* ========================================================
   Enhanced Mobile Dashboard UI (100% Real-Time Dynamic)
   ======================================================== */

/* Dynamic Clock Ring States */
.clock-center-circle.state-on-duty {
  border-color: #10b981;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.32), inset 0 0 14px rgba(16, 185, 129, 0.12);
}
.clock-center-circle.state-on-break {
  border-color: #f59e0b;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.32), inset 0 0 14px rgba(245, 158, 11, 0.12);
}
.clock-center-circle.state-on-break .clock-status-pill {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}
.clock-center-circle.state-on-break .status-pulsing-dot {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}
.clock-center-circle.state-completed {
  border-color: #1677f2;
  box-shadow: 0 0 24px rgba(22, 119, 242, 0.28), inset 0 0 14px rgba(22, 119, 242, 0.10);
}
.clock-center-circle.state-completed .clock-status-pill {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.clock-center-circle.state-completed .status-pulsing-dot {
  background: #1677f2;
  box-shadow: none;
  animation: none;
}
.clock-center-circle.state-off-duty {
  border-color: #94a3b8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08), inset 0 0 10px rgba(148, 163, 184, 0.10);
}
.clock-center-circle.state-off-duty .clock-status-pill {
  background: #f1f5f9;
  color: #475569;
  border-color: #cbd5e1;
}
.clock-center-circle.state-off-duty .status-pulsing-dot {
  background: #64748b;
  box-shadow: none;
  animation: none;
}

/* Duty Progress Bar Strip */
.app-progress-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 14px rgba(16, 45, 99, 0.04);
  margin-bottom: 14px;
}
.app-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}
.app-progress-track {
  height: 7px;
  border-radius: 10px;
  background: #e2e8f0;
  overflow: hidden;
}
.app-progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #10b981, #1677f2);
  transition: width 0.5s ease;
}

/* Resume & Update Out Buttons */
.btn-punch-resume {
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.30);
}
.btn-punch-update {
  flex: 0.95;
  background: #ffffff;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Real-Time 7-Day Attendance Strip */
.app-week-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 6px 20px rgba(16, 45, 99, 0.04);
  margin-bottom: 14px;
}
.app-section-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.app-section-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}
.app-section-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1677f2;
  text-decoration: none;
}
.app-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.week-day-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 6px 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.week-day-pill.is-today {
  border-color: #1677f2;
  background: #eff6ff;
}
.week-day-pill.is-sunday {
  background: #fff5f5;
  border-color: #fecaca;
}
.week-day-name {
  font-size: 0.6rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}
.week-day-num {
  font-size: 0.74rem;
  font-weight: 800;
  color: #0f172a;
}
.week-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.week-dot.present { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.week-dot.on_duty { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
.week-dot.late { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.week-dot.half_day { background: #fef9c3; color: #b45309; border: 1px solid #fde047; }
.week-dot.absent { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.week-dot.weekly_off { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.week-dot.holiday { background: #ede9fe; color: #7c3aed; border: 1px solid #ddd6fe; }
.week-dot.leave { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.week-dot.neutral { background: #e2e8f0; color: #64748b; }

/* Real-Time Salary & Leave Snapshot Strip */
.app-snapshot-card {
  background: linear-gradient(135deg, #102d63 0%, #1677f2 100%);
  border-radius: 18px;
  padding: 14px 16px;
  color: #ffffff;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(22, 119, 242, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.snapshot-label {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.snapshot-val {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin: 2px 0;
}
.snapshot-sub {
  font-size: 0.68rem;
  opacity: 0.9;
}
.snapshot-leaves {
  display: flex;
  gap: 6px;
}
.leave-mini-chip {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 5px 8px;
  text-align: center;
  min-width: 44px;
}
.leave-mini-chip span {
  display: block;
  font-size: 0.58rem;
  opacity: 0.85;
  font-weight: 700;
}
.leave-mini-chip strong {
  font-size: 0.82rem;
  font-weight: 800;
}
