
#adminContent {
  display: none; 
}

#authSpinner {
  text-align: center;
  margin-top: 100px;
  color: var(--bwf-purple);
}

.status-border-pending {
  border-right-color: var(--bwf-yellow) !important;
}

.status-border-approved {
  border-right-color: var(--bwf-green) !important;
}

.status-border-rejected {
  border-right-color: #94a3b8 !important; 
}

.rejected {
  background: #f1f5f9; 
  color: #64748b;
  opacity: 0.8;
}

.admin-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: white;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  border-right: 8px solid #cbd5e1; 
  transition: all 0.2s ease;
}

.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-approve, .btn-reject, .btn-reset {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn-approve {
  background-color: var(--bwf-green);
  color: white;
}

.btn-reject {
  background-color: #475569; 
  color: white;
}

.btn-reset {
  background-color: #e2e8f0;
  color: var(--bwf-purple);
}

.btn-approve:hover, .btn-reject:hover, .btn-reset:hover {
  opacity: 0.85;
}

#stats {
  font-size: 0.9rem;
  background: #f8fafc;
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
.pagination-btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  background: var(--bwf-purple);
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.pagination-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.score-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: bold;
  background: #f1f5f9;
  color: #334155;
  margin-top: 6px;
}

.progress-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: bold;
  background: #fff7ed;
  color: #9a3412;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .admin-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .action-buttons {
    width: 100%;
    justify-content: space-between;
  }
}
#adminContent {
  padding: 20px;
  box-sizing: border-box;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 20px;
}

.stage1-card {
  margin-bottom: 30px;
  border-top: 5px solid #f4bb1b;
}

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

#logoutBtn,
#finalizeStage1Btn,
.btn-approve,
.btn-reject,
.btn-reset,
.pagination-btn {
  min-height: 44px;
}

.admin-card {
  box-sizing: border-box;
}

.admin-card > div {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  #adminContent {
    padding: 14px;
  }

  .card {
    padding: 16px;
  }

  .dashboard-header img {
    max-height: 56px !important;
  }

  .dashboard-header h2 {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .applications-header {
    flex-direction: column;
    align-items: stretch;
  }

  #stats {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .admin-card {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 16px;
  }

  .action-buttons {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .btn-approve,
  .btn-reject,
  .btn-reset {
    width: 100%;
  }

  #finalizeStage1Btn,
  #logoutBtn {
    width: 100%;
  }

  .score-pill,
  .progress-pill {
    display: inline-block;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  #adminContent {
    padding: 10px;
  }

  .card {
    padding: 14px;
    border-radius: 10px;
  }

  .dashboard-header h2 {
    font-size: 1.15rem;
  }

  .admin-card {
    padding: 14px;
  }

  #stats {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .pagination-btn {
    width: 100%;
  }
}