/**
 * Employer Pricing page styles
 */

.employer-page .hidden {
  display: none !important;
}

/* Subscription billing period selector */
.employer-page .subscription-billing-period {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 28px;
  padding: 0 8px;
}

.employer-page .subscription-billing-period__track {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 5px;
  background: #eef6ff;
  border: 1px solid #d4e8fc;
  border-radius: 14px;
  box-shadow: inset 0 1px 2px rgba(124, 169, 241, 0.08);
}

.employer-page .subscription-billing-period__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.employer-page .subscription-billing-period__tab:hover:not(.active) {
  color: #334155;
  background: rgba(255, 255, 255, 0.55);
}

.employer-page .subscription-billing-period__tab.active {
  background: #ffffff;
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(124, 169, 241, 0.18), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.employer-page .subscription-billing-period__tab:focus-visible {
  outline: 2px solid #7ca9f1;
  outline-offset: 2px;
}

.employer-page .subscription-billing-period__label {
  display: inline-block;
}

.employer-page .subscription-billing-period__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #a5c5e5;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.employer-page .subscription-billing-period__tab.active .subscription-billing-period__badge {
  background: #7ca9f1;
  color: #ffffff;
}

@media (max-width: 768px) {
  .employer-page .subscription-billing-period__track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .employer-page .subscription-billing-period__tab {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14px;
  }

  .employer-page .subscription-billing-period__badge {
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* Plan badges */
.employer-page .pricing-plan-card {
  position: relative;
}

.employer-page .plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 1;
}

.employer-page .plan-price-secondary {
  font-size: 14px;
  color: #6b7280;
}

.employer-page .pricing-card-header {
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

/* Mobile & Tablet: auto height for natural content flow */
@media (max-width: 1023px) {
  .employer-page .pricing-card-header {
    min-height: auto;
    height: auto;
  }
}

/* Desktop: min-height for alignment; no fixed height to prevent overlap with features */
@media (min-width: 1024px) {
  .employer-page .pricing-card-header {
    min-height: 180px;
  }
}

.employer-page #bus-billed,
.employer-page #ent-billed,
.employer-page #ess-billed {
  min-height: 20px;
  flex-shrink: 0;
}

.employer-page .plan-action {
  margin-top: auto;
  flex-shrink: 0;
}

.employer-page .plan-button {
  width: 100%;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  color: #1a1a1a;
}

.employer-page .upgrade-button {
  border-radius: 10px !important;
  border: 1px solid #a5c5e5 !important;
  background: #fff;
}

.employer-page .upgrade-button:hover {
  background: #a5c5e5;
  border-color: #a5c5e5;
}

.employer-page .border-gray-50 {
  border-color: #f9fafb;
}

.company-list-section {
  margin: 64px 0;
}

.company-list-section .companies {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.company-list-section .hire-cpmny-bx img {
  max-height: 40px;
  object-fit: contain;
  width: 150px;
}

@media (max-width: 767px) {
  .company-list-section .hire-cpmny-bx img {
    width: 100px;
  }
}
