/* DiplomaStudy - Onboarding Page Styles */

.onboarding-page {
  padding: 20px 0;
  max-width: 640px;
  margin: 0 auto;
}

/* Brand */
.onb-brand {
  text-align: center;
  margin-bottom: 24px;
}

.onb-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #1C3E2C, #587858);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 26px;
  margin: 0 auto 14px;
  box-shadow: 0 12px 28px rgba(28, 62, 44, 0.25);
}

.onb-title {
  font-size: 26px;
  font-weight: 900;
  color: #1C3E2C;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.onb-subtitle {
  font-size: 13px;
  color: #57675D;
  font-weight: 500;
}

/* Info Box */
.onb-info {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(200, 122, 30, 0.08), rgba(254, 243, 199, 0.5));
  border-left: 4px solid #C87A1E;
  border-radius: 14px;
  margin-bottom: 28px;
}

.onb-info-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.onb-info-title {
  font-size: 14px;
  font-weight: 800;
  color: #1C3E2C;
  margin-bottom: 3px;
}

.onb-info-text {
  font-size: 12.5px;
  color: #57675D;
  line-height: 1.5;
}

/* Section */
.onb-section {
  margin-bottom: 28px;
}

.onb-section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.onb-section-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1C3E2C, #587858);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(28, 62, 44, 0.25);
}

.onb-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #1C3E2C;
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}

.onb-section-desc {
  font-size: 12px;
  color: #84968B;
  font-weight: 500;
}

/* Department Grid */
.dept-grid-onb {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dept-card-onb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  background: #FFFFFF;
  border: 2px solid #E1E8E1;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
}

.dept-card-onb:hover:not(.locked) {
  border-color: #7A9B7A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(28, 62, 44, 0.1);
}

.dept-card-onb.active {
  border-color: #1C3E2C;
  background: linear-gradient(135deg, rgba(28, 62, 44, 0.06), rgba(122, 155, 122, 0.06));
  box-shadow: 0 8px 20px rgba(28, 62, 44, 0.15);
}

.dept-card-onb.locked {
  opacity: 0.55;
  cursor: not-allowed;
  background: #F7F5EF;
}

.dept-onb-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(28, 62, 44, 0.1), rgba(122, 155, 122, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 4px;
}

.dept-onb-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #1C3E2C;
  line-height: 1.2;
}

.dept-onb-bangla {
  font-size: 11px;
  color: #57675D;
  line-height: 1.3;
}

.dept-onb-lock {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  background: #FEF3C7;
  color: #B45309;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #FCD34D;
}

.dept-onb-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  background: #1C3E2C;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

/* Semester Grid */
.sem-grid-onb {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.sem-card-onb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 6px;
  background: #FFFFFF;
  border: 2px solid #E1E8E1;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.sem-card-onb:hover:not(.locked) {
  border-color: #7A9B7A;
  transform: translateY(-2px);
}

.sem-card-onb.active {
  border-color: #1C3E2C;
  background: linear-gradient(135deg, rgba(28, 62, 44, 0.06), rgba(122, 155, 122, 0.06));
  box-shadow: 0 6px 16px rgba(28, 62, 44, 0.15);
}

.sem-card-onb.locked {
  opacity: 0.5;
  cursor: not-allowed;
  background: #F7F5EF;
}

.sem-onb-roman {
  font-size: 16px;
  font-weight: 900;
  color: #1C3E2C;
  font-family: var(--font-mono);
  letter-spacing: -0.5px;
}

.sem-onb-name {
  font-size: 10px;
  font-weight: 700;
  color: #57675D;
  text-align: center;
  line-height: 1.1;
}

.sem-onb-bangla {
  font-size: 9px;
  color: #84968B;
  font-weight: 500;
}

.sem-onb-lock {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 9px;
  opacity: 0.7;
}

.sem-onb-check {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: #1C3E2C;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
}

/* Footer */
.onb-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #F7F5EF 80%, transparent);
  padding: 16px 0 8px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 380px) {
  .dept-grid-onb {
    gap: 8px;
  }
  .dept-card-onb {
    padding: 12px 8px;
  }
  .dept-onb-icon {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  .sem-grid-onb {
    gap: 6px;
  }
  .sem-card-onb {
    padding: 10px 4px;
  }
}