/* FINAL — CPD DASHBOARD WITH PENDING BADGE */
.ejike-cpd-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
}
.ejike-cpd-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.ejike-cpd-header {
  background: linear-gradient(90deg, var(--cpd-primary), var(--cpd-primary));
  color: white;
  padding: 60px 40px;
  text-align: center;
}
.ejike-cpd-header h2 {
  margin: 0 0 15px;
  font-size: 2.8rem;
  font-weight: 800;
}
.ejike-cpd-header p {
  margin: 0;
  font-size: 1.35rem;
  opacity: 0.95;
}
.ejike-cpd-body {
  padding: 60px 40px;
  text-align: center;
}
/* TABS NAVIGATION — HOVER TEXT WHITE, NO IMPACT ON PRIMARY COLOR ELSEWHERE */
.ejike-cpd-tabs {
  margin-bottom: 40px;
}
.ejike-tabs-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #e0e0e0;
  flex-wrap: wrap;
  gap: 10px;
}
.ejike-tabs-nav li {
  margin: 0;
}
.ejike-tabs-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  border-radius: 12px;
}
.ejike-tabs-nav a .tab-icon {
  font-size: 1.3rem;
}
.ejike-tabs-nav a:hover {
  color: white !important; /* White text on hover for visibility */
  background: var(--cpd-primary) !important; /* Primary color background on hover */
  border: 2px solid var(--cpd-primary) !important;
  font-weight: 700;
}
.ejike-tabs-nav a.active {
  color: var(--cpd-primary);
}
.ejike-tabs-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--cpd-primary);
  border-radius: 2px;
}
/* TAB PANELS */
.ejike-tabs-content {
  position: relative;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}
/* PROGRESS BAR */
.ejike-progress-container {
  width: 100%;
  max-width: 650px;
  margin: 50px auto;
}
.ejike-progress-bar {
  height: 50px;
  background: #f0f0f0;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1);
}
.ejike-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cpd-primary), var(--cpd-primary));
  border-radius: 50px;
  transition: width 2.5s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ejike-progress-fill .progress-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.ejike-progress-label {
  margin-top: 20px;
  font-size: 1.4rem;
  color: #444;
  font-weight: 600;
}
.pending-badge {
  display: inline-block;
  background: #f39c12;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-left: 10px;
  font-weight: 700;
}
/* STATUS */
.ejike-status {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 30px 0;
}
.ejike-status.compliant {
  background: #d4edda;
  color: #155724;
}
.ejike-status.pending {
  background: #fff3cd;
  color: #856404;
}
.ejike-status.grace {
  background: #f8d7da;
  color: #721c24;
}
.cycle-info {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 600px;
  font-size: 1.2rem;
}
/* LOG FORM */
.ejike-cpd-log h2 {
  font-size: 2.3rem;
  color: var(--cpd-primary);
  margin-bottom: 40px;
}
.cpd-log-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.cpd-log-form label {
  font-weight: 600;
  text-align: left;
  color: #333;
  margin-bottom: 8px;
  display: block;
}
.cpd-log-form select,
.cpd-log-form input[type='date'],
.cpd-log-form input[type='file'] {
  width: 100%;
  padding: 18px;
  border: 2px solid #e2e6ea;
  border-radius: 16px;
  font-size: 1.1rem;
}
.cpd-submit-btn {
  background: var(--cpd-primary);
  color: white;
  padding: 20px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s;
  margin-top: 20px;
}
.cpd-submit-btn:hover {
  background: #467f8f;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(148, 0, 0, 0.3);
}
.notice {
  padding: 20px;
  border-radius: 16px;
  margin: 30px 0;
  font-weight: 600;
  text-align: center;
}
/* Mobile — Tabs stack vertically */
@media (max-width: 640px) {
  .ejike-cpd-header {
    padding: 50px 20px;
  }
  .ejike-cpd-header h2 {
    font-size: 2.3rem;
  }
  .ejike-cpd-body {
    padding: 40px 20px;
  }
  .ejike-progress-container {
    padding: 0 15px;
  }
  .ejike-tabs-nav {
    flex-direction: column;
  }
  .ejike-tabs-nav a {
    justify-content: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
  }
  .ejike-tabs-nav a.active::after {
    display: none;
  }
  .ejike-tabs-nav a.active {
    background: #f8f9fa;
    border-left: 4px solid var(--cpd-primary);
  }
  .ejike-tabs-nav a:hover {
    color: white !important;
    background: var(--cpd-primary) !important;
    border-radius: 12px;
    font-weight: 700;
  }
  /* FINAL HOVER FIX — FORCED VISIBILITY */
.ejike-tabs-nav a:hover,
.ejike-tabs-nav a:hover .tab-icon {
    color: #940000 !important;
    background: transparent !important;
    border-color: #940000 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}
}