    :root {
      --primary: #3b82f6;
      --primary-dark: #2563eb;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --info: #06b6d4;
      --bg: #0f172a;
      --card-bg: #1e293b;
      --text: #f8fafc;
      --text-muted: #94a3b8;
      --gray: #64748b;
      --border: #334155;
      --bg-admin: #f1f5f9;
      --text-admin: #0f172a
    }

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

    body {
      font-family: 'Poppins', sans-serif;
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden
    }

    button,
    input,
    select,
    textarea,
    .btn {
      font-family: 'Poppins', sans-serif
    }

    .app {
      display: flex;
      min-height: 100vh;
      color: var(--text-admin);
      overflow-x: hidden
    }

    .sidebar {
      display: flex;
      transform: translateX(-100%);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      width: 260px;
      background: #fff;
      border-right: 1px solid #e2e8f0;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      z-index: 50
    }

    .sidebar-header {
      padding: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid #f1f5f9
    }

    .logo-icon {
      width: 40px;
      height: 40px;
      background: #eff6ff;
      color: var(--primary);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .logo-text h1 {
      font-size: 18px;
      font-weight: 700;
      color: #1e293b;
      line-height: 1.2
    }

    .logo-text p {
      font-size: 12px;
      color: #64748b
    }

    .nav {
      padding: 24px 16px;
      flex: 1
    }

    .nav-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      color: #64748b;
      border-radius: 8px;
      cursor: pointer;
      margin-bottom: 4px;
      transition: all 0.2s
    }

    .nav-item:hover {
      background: #f8fafc;
      color: var(--primary)
    }

    .nav-item.active {
      background: #eff6ff;
      color: var(--primary);
      font-weight: 600
    }

    .nav-item i {
      width: 20px;
      height: 20px
    }

    .sidebar-footer {
      padding: 20px;
      border-top: 1px solid #f1f5f9
    }

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

    .user-avatar {
      width: 36px;
      height: 36px;
      background: var(--primary);
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 14px
    }

    .user-info {
      font-size: 13px;
      color: #1e293b;
      font-weight: 500
    }

    .user-info p {
      font-size: 11px;
      color: #64748b
    }

    .main {
      flex: 1;
      background: var(--bg-admin);
      padding: 0;
      display: flex;
      flex-direction: column;
      color: var(--text-admin);
      min-width: 0;
      height: 100vh;
      overflow-y: auto
    }

    .topbar {
      background: #fff;
      padding: 16px 32px;
      border-bottom: 1px solid #e2e8f0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      position: sticky;
      top: 0;
      z-index: 40
    }

    .topbar h2 {
      font-size: 20px;
      font-weight: 600;
      color: #1e293b
    }

    .topbar-right {
      display: flex;
      align-items: center;
      gap: 20px
    }

    .search-box {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #f8fafc;
      padding: 8px 16px;
      border-radius: 8px;
      border: 1px solid #e2e8f0
    }

    .search-box input {
      border: none;
      background: none;
      outline: none;
      font-size: 14px;
      color: #1e293b;
      width: 200px
    }

    .topbar-icon {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #64748b;
      cursor: pointer;
      position: relative
    }

    .notification-badge {
      position: absolute;
      top: 2px;
      right: 2px;
      background: #ef4444;
      color: #fff;
      font-size: 10px;
      font-weight: 700;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: none;
      align-items: center;
      justify-content: center;
      border: 2px solid #fff;
      box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2)
    }

    .content {
      padding: 32px;
      width: 100%
    }

    .page-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px
    }

    .page-header h1 {
      color: #1e293b;
      font-size: 24px;
      font-weight: 700
    }

    .header-actions {
      display: flex;
      gap: 12px
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 24px;
      margin-bottom: 32px
    }

    .stat-card {
      background: #fff;
      padding: 24px;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05)
    }

    .stat-info h3 {
      font-size: 13px;
      color: #64748b;
      margin-bottom: 8px;
      font-weight: 500
    }

    .stat-info .value {
      font-size: 28px;
      font-weight: 700;
      color: #1e293b
    }

    .stat-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .stat-icon.green {
      background: #ecfdf5;
      color: #10b981
    }

    .stat-icon.blue {
      background: #eff6ff;
      color: #3b82f6
    }

    .stat-icon.orange {
      background: #fff7ed;
      color: #f59e0b
    }

    .stat-icon.red {
      background: #fef2f2;
      color: #ef4444
    }

    .feed-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px
    }

    .feed-title {
      font-size: 18px;
      font-weight: 600;
      color: #1e293b
    }

    .feed-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 20px
    }

    .feed-card {
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: transform 0.2s
    }

    .feed-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1)
    }

    .feed-img {
      width: 100%;
      height: 220px;
      background: #f1f5f9;
      position: relative;
      overflow: hidden
    }

    .feed-photo {
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .feed-badge {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      font-size: 9px;
      text-align: center;
      padding: 4px;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      font-weight: 600
    }

    .feed-badge.late {
      background: rgba(239, 68, 68, 0.9)
    }

    .feed-badge.verified {
      background: rgba(16, 185, 129, 0.9)
    }

    .feed-info {
      padding: 12px
    }

    .feed-name {
      font-weight: 600;
      color: #1e293b;
      margin-bottom: 2px;
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis
    }

    .feed-class {
      font-size: 12px;
      color: #64748b
    }

    .card {
      background: #fff;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      overflow: hidden;
      margin-bottom: 24px
    }

    .card-body {
      padding: 24px
    }

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

    .table th {
      text-align: left;
      padding: 12px 16px;
      font-size: 12px;
      color: #64748b;
      font-weight: 600;
      border-bottom: 1px solid #e2e8f0;
      text-transform: uppercase;
      letter-spacing: 0.5px
    }

    .table td {
      padding: 16px;
      font-size: 14px;
      color: #334155;
      border-bottom: 1px solid #f1f5f9
    }

    .table tr:last-child td {
      border-bottom: none
    }

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

    .avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 600;
      color: #fff
    }

    .avatar.blue {
      background: #3b82f6
    }

    .avatar.green {
      background: #10b981
    }

    .avatar.orange {
      background: #f59e0b
    }

    .avatar.purple {
      background: #8b5cf6
    }

    .avatar.cyan {
      background: #06b6d4
    }

    .badge {
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 600
    }

    .badge-success {
      background: #ecfdf5;
      color: #10b981
    }

    .badge-warning {
      background: #fff7ed;
      color: #f59e0b
    }

    .badge-danger {
      background: #fef2f2;
      color: #ef4444
    }

    .badge-info {
      background: #eff6ff;
      color: #3b82f6
    }

    .btn {
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: 0.2s
    }

    .btn-primary {
      background: var(--primary);
      color: #fff
    }

    .btn-primary:hover {
      background: var(--primary-dark)
    }

    .btn-success {
      background: var(--success);
      color: #fff
    }

    .btn-warning {
      background: var(--warning);
      color: #fff
    }

    .btn-outline {
      background: #fff;
      border: 1px solid #e2e8f0;
      color: #475569
    }

    .action-btn {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      border: 1px solid #e2e8f0;
      background: #fff;
      color: #64748b;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer
    }

    .action-btn:hover {
      background: #fee2e2;
      color: #ef4444;
      border-color: #fee2e2
    }

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.65);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999;
      backdrop-filter: blur(4px);
      padding: 12px;
    }

    .modal-overlay.active {
      display: flex
    }

    .modal {
      background: #fff;
      width: 100%;
      max-width: 520px;
      max-height: calc(100vh - 24px);
      display: flex;
      flex-direction: column;
      border-radius: 16px;
      overflow: hidden;
      animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 1000;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      position: relative;
    }

    .modal.active {
      display: flex;
      flex-direction: column;
    }

    .modal-header {
      padding: 14px 20px;
      border-bottom: 1px solid #e2e8f0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-shrink: 0;
      background: #fff;
    }

    .modal-title {
      font-weight: 600;
      color: #1e293b;
      font-size: 16px;
    }

    .modal-close {
      background: none;
      border: none;
      font-size: 24px;
      color: #94a3b8;
      cursor: pointer;
      line-height: 1;
      padding: 0 4px;
    }

    .modal-body {
      padding: 16px 20px;
      overflow-y: auto;
      flex: 1;
      -webkit-overflow-scrolling: touch;
    }

    .modal-footer {
      padding: 12px 20px;
      border-top: 1px solid #e2e8f0;
      background: #f8fafc;
      display: flex;
      gap: 10px;
      flex-shrink: 0;
    }

    .modal-location-map {
      width: 100%;
      height: 180px;
      border-radius: 10px;
      margin-bottom: 8px;
      border: 1px solid #e2e8f0;
      position: relative;
      z-index: 1;
    }

    @media (max-width: 640px) {
      .modal {
        max-height: calc(100vh - 16px);
        border-radius: 14px;
      }
      .modal-body {
        padding: 14px;
      }
      .modal-footer {
        padding: 10px 14px;
      }
      .modal-location-map {
        height: 150px;
      }
    }

    .form-group {
      margin-bottom: 14px
    }

    .form-label {
      display: block;
      font-size: 13px;
      font-weight: 500;
      color: #64748b;
      margin-bottom: 6px
    }

    .form-input {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      font-family: inherit;
      font-size: 14px;
      color: #1e293b
    }

    .form-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1)
    }

    select.form-input {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 16px;
      padding-right: 40px;
      cursor: pointer
    }

    @keyframes slideUp {
      from {
        transform: translateY(20px);
        opacity: 0
      }

      to {
        transform: translateY(0);
        opacity: 1
      }
    }

    .sidebar.open {
      transform: translateX(0)
    }

    .sidebar-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
      z-index: 40;
      display: none;
      backdrop-filter: blur(2px)
    }

    .sidebar-overlay.active {
      display: block
    }

    .hamburger-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      background: none;
      border: none;
      color: #64748b;
      cursor: pointer;
      border-radius: 8px;
      padding: 0
    }

    .hamburger-btn:hover {
      background: #f1f5f9
    }

    @media(max-width:768px) {
      .main {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden
      }

      .content {
        padding: 16px;
        width: 100%;
        overflow-x: hidden
      }

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

      .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
      }

      .page-header .header-actions {
        width: 100%;
        flex-wrap: wrap
      }

      .feed-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .card-body {
        padding: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
      }

      .topbar {
        padding: 12px 16px;
        width: 100%
      }

      .topbar h2 {
        font-size: 16px
      }

      .search-box {
        display: none
      }

      .modal {
        max-width: calc(100vw - 32px);
        margin: 0 16px
      }

      .stat-card {
        padding: 16px
      }

      .stat-info .value {
        font-size: 22px
      }

      .feed-grid[style] {
        grid-template-columns: repeat(2, 1fr) !important
      }

      .table {
        min-width: 600px
      }

      .filter-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center
      }

      .filter-pills {
        width: 100%;
        overflow-x: auto;
        padding: 6px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none
      }

      .filter-pills::-webkit-scrollbar {
        display: none
      }

      .filter-pills .pill {
        flex: 1;
        padding: 10px 12px;
        font-size: 12px
      }

      .month-picker-container {
        justify-content: center;
        margin: 0;
        padding-top: 8px;
        border-top: 1px solid #f1f5f9
      }

      .month-input {
        flex: 1;
        text-align: center
      }
    }

    @media(min-width:769px) {
      .sidebar {
        transform: translateX(0)
      }

      .main {
        margin-left: 260px
      }

      .mobile-app {
        display: none
      }

      .app-header,
      .bottom-nav {
        display: none
      }

      .hamburger-btn {
        display: none
      }

      .sidebar-overlay {
        display: none !important
      }
    }

    .toast-container {
      position: fixed;
      bottom: 20px;
      right: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 200
    }

    .toast {
      background: #1e293b;
      color: #fff;
      padding: 12px 20px;
      border-radius: 8px;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      animation: slideIn 0.3s
    }

    .toast.success {
      background: #10b981
    }

    .toast.error {
      background: #ef4444
    }

    @keyframes slideIn {
      from {
        transform: translateX(100%)
      }

      to {
        transform: translateX(0)
      }
    }

    /* Mobile App Specifics */
    .mobile-app {
      width: 100%;
      max-width: 480px;
      margin: 0 auto;
      background: var(--bg);
      min-height: 100vh;
      position: relative;
      display: flex;
      flex-direction: column;
      color: var(--text)
    }

    .app-header {
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center
    }

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

    .logo-box {
      width: 40px;
      height: 40px;
      background: rgba(59, 130, 246, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary)
    }

    .header-actions {
      display: flex;
      gap: 12px
    }

    .icon-btn {
      width: 40px;
      height: 40px;
      background: var(--card-bg);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text);
      border: 1px solid var(--border)
    }

    .time-section {
      text-align: center;
      margin: 20px 0
    }

    .digital-clock {
      font-size: 48px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: -1px
    }

    .date-text {
      color: var(--text-muted);
      font-size: 14px;
      margin-top: 5px
    }

    .scan-container {
      position: relative;
      margin: 20px auto;
      width: 280px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center
    }

    .scan-circle {
      width: 280px;
      height: 280px;
      border-radius: 50%;
      border: 2px solid var(--border);
      position: relative;
      overflow: hidden;
      background: #000;
      box-shadow: 0 0 50px rgba(59, 130, 246, 0.2)
    }

    .camera-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scaleX(-1)
    }

    .scan-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-radius: 50%;
      border: 2px solid var(--primary);
      box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.5);
      z-index: 10
    }

    .scan-line {
      position: absolute;
      width: 100%;
      height: 2px;
      background: var(--primary);
      box-shadow: 0 0 10px var(--primary);
      top: 50%;
      animation: scan 2s infinite ease-in-out;
      z-index: 11
    }

    @keyframes scan {
      0% {
        top: 10%;
        opacity: 0
      }

      50% {
        opacity: 1
      }

      100% {
        top: 90%;
        opacity: 0
      }
    }

    .gps-badge {
      position: relative;
      margin-top: 10px;
      background: var(--card-bg);
      padding: 6px 16px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 600;
      border: 1px solid var(--border);
      z-index: 20;
      color: var(--text-muted);
      white-space: nowrap;
      width: auto
    }

    .gps-badge.locked {
      background: rgba(16, 185, 129, 0.2);
      color: var(--success);
      border-color: rgba(16, 185, 129, 0.3)
    }

    .scan-status {
      text-align: center;
      margin-top: 50px;
      color: var(--text-muted);
      font-size: 13px
    }

    .location-card {
      margin: 20px;
      background: var(--card-bg);
      border-radius: 20px;
      padding: 20px;
      border: 1px solid var(--border)
    }

    .loc-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 15px;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--text-muted)
    }

    .map-view {
      height: 180px;
      background: #1e293b;
      border-radius: 12px;
      display: block;
      overflow: hidden;
      position: relative;
      z-index: 1;
      opacity: 0;
      transition: opacity 0.4s ease
    }

    .map-view.map-ready {
      opacity: 1
    }

    .map-view .leaflet-container {
      width: 100% !important;
      height: 100% !important;
      border-radius: 12px
    }

    .map-pin-anim {
      width: 16px;
      height: 16px;
      background: var(--primary);
      border-radius: 50%;
      border: 3px solid white;
      box-shadow: 0 0 15px var(--primary);
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 5;
      animation: mapPinPulse 1.5s ease-in-out infinite
    }

    .map-view.map-ready .map-pin-anim {
      display: none
    }

    @keyframes mapPinPulse {
      0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1 }
      50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.7 }
    }

    .gps-accuracy {
      font-size: 9px;
      opacity: 0.8;
      margin-left: 4px
    }

    @keyframes gpsSearching {
      0%, 100% { opacity: 1 }
      50% { opacity: 0.5 }
    }

    .gps-badge .spin {
      animation: spin 1s linear infinite
    }

    @keyframes spin {
      from { transform: rotate(0deg) }
      to { transform: rotate(360deg) }
    }

    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: var(--bottom-nav-bg, rgba(15, 23, 42, 0.85));
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      padding: 8px 16px;
      padding-bottom: max(8px, env(safe-area-inset-bottom));
      display: flex;
      justify-content: space-around;
      align-items: center;
      border-top: 1px solid var(--border);
      max-width: 480px;
      margin: 0 auto;
      z-index: 100
    }

    .nav-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      color: var(--text-muted);
      font-size: 9px;
      font-weight: 500;
      letter-spacing: 0.3px;
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 12px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      -webkit-tap-highlight-color: transparent;
      user-select: none
    }

    .nav-icon i,
    .nav-icon svg {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
    }

    .nav-icon span {
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1)
    }

    .nav-icon:active {
      transform: scale(0.85)
    }

    .nav-icon.active {
      color: var(--primary);
      background: rgba(59, 130, 246, 0.1)
    }

    .nav-icon.active i,
    .nav-icon.active svg {
      filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5))
    }

    .nav-icon.active span {
      font-weight: 700
    }

    .nav-icon.active::after {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 3px;
      background: linear-gradient(90deg, #3b82f6, #8b5cf6);
      border-radius: 0 0 4px 4px;
      animation: navDot 0.3s ease
    }

    @keyframes navDot {
      from {
        width: 0;
        opacity: 0
      }

      to {
        width: 20px;
        opacity: 1
      }
    }

    .input-screen {
      padding: 40px 24px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      min-height: 90vh;
      width: 100%;
      max-width: 400px;
      margin: 0 auto
    }

    .login-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 16px
    }

    .login-input-group {
      position: relative;
      width: 100%
    }

    .login-input {
      width: 100%;
      height: 56px;
      padding: 0 20px;
      border-radius: 16px;
      background: var(--card-bg);
      border: 1.5px solid var(--border);
      color: var(--text);
      font-size: 16px;
      font-family: 'Poppins', sans-serif;
      transition: all 0.3s ease;
      text-align: center
    }

    .login-input:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1)
    }

    .login-input.has-icon {
      padding-right: 50px
    }

    .welcome-text {
      font-size: 26px;
      font-weight: 700;
      margin-bottom: 8px;
      text-align: center
    }

    .welcome-sub {
      color: var(--text-muted);
      margin-bottom: 32px;
      text-align: center;
      font-size: 14px
    }

    /* Modern Action Button */
    .action-btn-modern {
      position: relative;
      width: 100%;
      padding: 16px 24px;
      border: none;
      border-radius: 16px;
      font-family: 'Poppins', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: #fff;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      overflow: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      letter-spacing: 0.3px;
      text-transform: uppercase
    }

    .action-btn-modern::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
      transition: left 0.5s
    }

    .action-btn-modern:hover::before {
      left: 100%
    }

    .action-btn-modern:active {
      transform: scale(0.97)
    }

    .action-btn-modern:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      animation: none
    }

    .action-btn-modern:disabled::before {
      display: none
    }

    .action-btn-modern.abtn-masuk {
      background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
      box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 0 30px rgba(99, 102, 241, 0.15);
      animation: btnPulse 2s infinite
    }

    .action-btn-modern.abtn-masuk:hover {
      box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5), 0 0 40px rgba(99, 102, 241, 0.25);
      transform: translateY(-2px)
    }

    .action-btn-modern.abtn-istirahat {
      background: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #ef4444 100%);
      box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4), 0 0 30px rgba(249, 115, 22, 0.15);
      animation: btnPulse 2s infinite
    }

    .action-btn-modern.abtn-istirahat:hover {
      box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5), 0 0 40px rgba(249, 115, 22, 0.25);
      transform: translateY(-2px)
    }

    .action-btn-modern.abtn-selesai {
      background: linear-gradient(135deg, #10b981 0%, #14b8a6 50%, #06b6d4 100%);
      box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), 0 0 30px rgba(20, 184, 166, 0.15)
    }

    .action-btn-modern.abtn-selesai:hover {
      box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5)
    }

    .action-btn-modern .btn-icon {
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 8px;
      padding: 4px
    }

    .action-btn-modern .btn-label {
      flex: 1;
      text-align: center
    }

    @keyframes btnPulse {

      0%,
      100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4)
      }

      50% {
        box-shadow: 0 4px 25px rgba(59, 130, 246, 0.6), 0 0 40px rgba(99, 102, 241, 0.2)
      }
    }

    .filter-pills {
      display: flex;
      background: #e2e8f0;
      padding: 4px;
      border-radius: 12px;
      gap: 4px;
      width: fit-content
    }

    .pill {
      padding: 8px 20px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      color: #64748b;
      border: none;
      background: transparent;
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap
    }

    .pill:hover {
      color: var(--primary)
    }

    .pill.active {
      background: #fff;
      color: var(--primary);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05)
    }

    .month-picker-container {
      display: flex;
      align-items: center;
      gap: 8px;
      animation: fadeIn 0.3s
    }

    .month-input {
      border: 1px solid #cbd5e1;
      border-radius: 8px;
      padding: 6px 12px;
      font-size: 13px;
      color: #1e293b;
      font-family: inherit;
      background: #fff;
      cursor: pointer;
      transition: all 0.2s
    }

    .month-input:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1)
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateX(-10px)
      }

      to {
        opacity: 1;
        transform: translateX(0)
      }
    }

    .filter-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap
    }

    body.light-mode {
      --bg: #f8fafc;
      --card-bg: #ffffff;
      --text: #0f172a;
      --text-muted: #64748b;
      --border: #cbd5e1;
      --bottom-nav-bg: rgba(255, 255, 255, 0.85)
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    .spin {
      display: inline-block;
      animation: spin 1s linear infinite;
    }