@media (max-width: 768px) {
  :root {
    --mobile-max-width: 100%;
  }

  body.candidate-webapp {
    background: linear-gradient(180deg, #edf2f9 0%, #e5ecf6 100%);
    padding: 0 0 calc(84px + env(safe-area-inset-bottom));
    min-height: 100vh;
    margin: 0 !important;
  }

  body.candidate-webapp .container,
  body.candidate-webapp .container-fluid,
  body.candidate-webapp .row {
    max-width: var(--mobile-max-width);
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.candidate-webapp .container,
  body.candidate-webapp .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body.candidate-webapp .row {
    --bs-gutter-x: 0.75rem;
  }

  body.candidate-webapp .navbar {
    position: static;
    top: auto !important;
    width: 100% !important;
    z-index: 1030;
    border-radius: 0 !important;
    margin: 0 0 10px 0 !important;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18);
    backdrop-filter: blur(8px);
  }

  body.candidate-webapp .card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  }

  body.candidate-webapp .btn {
    border-radius: 12px;
  }

  body.candidate-webapp .table {
    font-size: 0.9rem;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
  }

  body.candidate-webapp footer.bg-dark {
    position: static;
    left: auto;
    transform: none;
    bottom: auto;
    width: 100%;
    max-width: none;
    border-radius: 0;
    margin: 0 !important;
    background: #101828 !important;
    z-index: 1;
    box-shadow: none;
    padding-bottom: 0.75rem !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: 100%;
    background: rgba(11, 18, 32, 0.72);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav .mobile-nav-wrap {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 4px;
  }

  .mobile-bottom-nav .mobile-nav-link {
    flex: 1;
    text-decoration: none;
    color: #dbe5f5;
    text-align: center;
    border-radius: 10px;
    padding: 6px 2px;
    font-size: 0.7rem;
    line-height: 1.05;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .mobile-bottom-nav .mobile-nav-link i {
    font-size: 1.05rem;
    line-height: 1;
  }

  .mobile-bottom-nav .mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
  }

  .mobile-bottom-nav .mobile-nav-link.logout {
    color: #ffd7d7;
  }

  .pwa-install-sheet[hidden] {
    display: none !important;
  }

  .pwa-install-sheet {
    position: fixed;
    left: 8px;
    right: 8px;
    transform: none;
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    z-index: 1100;
  }

  .pwa-install-sheet .pwa-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .pwa-install-sheet p {
    margin: 0;
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .pwa-install-sheet .pwa-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}
