/**
 * P38 Company Pages — responsive layout (public, picker, employer manage, admin).
 * Loaded after ezy-responsive. Deploy: assets/css + assets/easyhire/css mirror.
 * Cache-bust: ezy-company-pages.css?v=23
 */

/* -------------------------------------------------------------------------
   Employer profile header (person → designation → ID → company → domain)
   ------------------------------------------------------------------------- */
.ezy-ep-header {
  max-width: 100%;
  min-width: 0;
}

.ezy-ep-identity {
  min-width: 0;
  max-width: 100%;
}

.ezy-ep-person {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
  word-break: break-word;
}

.ezy-ep-designation,
.ezy-ep-id,
.ezy-ep-domain {
  font-size: 0.95rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
  word-break: break-word;
}

.ezy-ep-company {
  margin-top: 0.35rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.25;
  word-break: break-word;
}

.ezy-ep-domain {
  margin-top: 0.15rem;
}

@media (max-width: 575.98px) {
  .ezy-ep-company {
    font-size: 1.35rem;
  }
}

html[data-ezy-theme="dark"] .ezy-ep-person,
html[data-ezy-theme="dark"] .ezy-ep-company {
  color: #f5f5f5;
}

html[data-ezy-theme="dark"] .ezy-ep-designation,
html[data-ezy-theme="dark"] .ezy-ep-id,
html[data-ezy-theme="dark"] .ezy-ep-domain {
  color: #a3a3a3;
}

/* Company tab facts: label bold/dark, value light (match Teams row) */
.ezy-ep-fact-label {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}
.ezy-ep-fact-value {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.45;
  word-break: break-word;
}
.ezy-ep-fact-value a,
.ezy-ep-fact-value a.ezy-cp-name-link,
.ezy-ep-fact-value a.ezy-ep-company-link {
  font-weight: 400;
  color: #6b7280;
}
html[data-ezy-theme="dark"] .ezy-ep-fact-label {
  color: #f5f5f5;
}
html[data-ezy-theme="dark"] .ezy-ep-fact-value,
html[data-ezy-theme="dark"] .ezy-ep-fact-value a,
html[data-ezy-theme="dark"] .ezy-ep-fact-value a.ezy-cp-name-link,
html[data-ezy-theme="dark"] .ezy-ep-fact-value a.ezy-ep-company-link {
  color: #a3a3a3;
}


/* -------------------------------------------------------------------------
   Shared
   ------------------------------------------------------------------------- */
.ezy-cp-picker-wrap,
.ezy-cp-public,
.ezy-cp-claim-form,
.ezy-cp-manage,
.ezy-cp-admin {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.ezy-cp-picker-wrap *,
.ezy-cp-public *,
.ezy-cp-claim-form *,
.ezy-cp-manage *,
.ezy-cp-admin * {
  box-sizing: border-box;
}

/* -------------------------------------------------------------------------
   Employer picker (signup modal + company profile)
   ------------------------------------------------------------------------- */
.ezy-cp-picker-wrap {
  position: relative;
  width: 100%;
}

.ezy-cp-picker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  width: 100%;
}

.ezy-cp-picker-field {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  width: 100%;
}

.ezy-cp-picker-field .ezy-cp-name-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.ezy-cp-btn-search,
.ezy-cp-btn-create {
  flex: 0 0 auto;
  white-space: nowrap;
  height: 48px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #00b074;
  background: #00b074;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ezy-cp-btn-search {
  min-width: 48px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ezy-cp-btn-create {
  /* Solid brand green (always) — same as search / Step 1 CTAs */
  background: #00b074;
  color: #fff;
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

.ezy-cp-btn-search:hover,
.ezy-cp-btn-create:hover,
.ezy-cp-btn-search:focus,
.ezy-cp-btn-create:focus,
.ezy-cp-btn-search:active,
.ezy-cp-btn-create:active {
  background: #008a5b;
  border-color: #007d52;
  color: #fff;
}

.ezy-cp-btn-search:disabled,
.ezy-cp-btn-create:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ezy-cp-btn-search:focus,
.ezy-cp-btn-create:focus {
  outline: 2px solid rgba(0, 176, 116, 0.45);
  outline-offset: 1px;
}

/* -------------------------------------------------------------------------
   Employer company profile — logo / background / photo-chooser CTAs
   (scoped IDs from companyprofile.php; do not recolor site-wide .btn)
   ------------------------------------------------------------------------- */
#ezy-employer-logo-block #ezy-employer-open-photo-modal,
#ezy-employer-bg-block .btn-file,
#ezyEmployerPhotoModal #ezy-employer-modal-upload,
#ezyEmployerPhotoModal #ezy-employer-modal-selfie,
#ezyEmployerPhotoModal #ezy-employer-snapshot {
  background-color: #00b074 !important;
  border-color: #00b074 !important;
  color: #fff !important;
}

#ezy-employer-logo-block #ezy-employer-open-photo-modal:hover,
#ezy-employer-logo-block #ezy-employer-open-photo-modal:focus,
#ezy-employer-logo-block #ezy-employer-open-photo-modal:active,
#ezy-employer-bg-block .btn-file:hover,
#ezy-employer-bg-block .btn-file:focus,
#ezy-employer-bg-block .btn-file:active,
#ezyEmployerPhotoModal #ezy-employer-modal-upload:hover,
#ezyEmployerPhotoModal #ezy-employer-modal-upload:focus,
#ezyEmployerPhotoModal #ezy-employer-modal-upload:active,
#ezyEmployerPhotoModal #ezy-employer-modal-selfie:hover,
#ezyEmployerPhotoModal #ezy-employer-modal-selfie:focus,
#ezyEmployerPhotoModal #ezy-employer-modal-selfie:active,
#ezyEmployerPhotoModal #ezy-employer-snapshot:hover,
#ezyEmployerPhotoModal #ezy-employer-snapshot:focus,
#ezyEmployerPhotoModal #ezy-employer-snapshot:active {
  background-color: #008a5b !important;
  border-color: #007d52 !important;
  color: #fff !important;
}

.ezy-cp-dropdown {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  top: auto;
  margin-top: 4px;
  z-index: 1060;
  max-height: min(240px, 40vh);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ezy-cp-dropdown.open {
  display: block;
}

.ezy-cp-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 12px 14px;
  min-height: 44px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  -webkit-tap-highlight-color: transparent;
}

.ezy-cp-dropdown-item:last-child {
  border-bottom: 0;
}

.ezy-cp-dropdown-item:hover,
.ezy-cp-dropdown-item:focus {
  background: #f5fbf8;
  outline: none;
}

.ezy-cp-dropdown-item .ezy-cp-item-name {
  display: block;
  font-weight: 600;
  color: #222;
  font-size: 14px;
  word-break: break-word;
}

.ezy-cp-dropdown-item .ezy-cp-item-url {
  display: block;
  color: #666;
  font-size: 12px;
  margin-top: 2px;
  word-break: break-all;
}

.ezy-cp-dropdown-empty {
  padding: 12px 14px;
  color: #666;
  font-size: 13px;
}

.ezy-cp-selected-hint {
  font-size: 12px;
  color: #00b074;
  margin-top: 6px;
  min-height: 18px;
  word-break: break-word;
}

.ezy-cp-msg {
  font-size: 12px;
  margin-top: 6px;
  min-height: 18px;
  word-break: break-word;
}

.ezy-cp-msg.is-error {
  color: #c0392b;
}

.ezy-cp-msg.is-ok {
  color: #00b074;
}

@media (min-width: 768px) {
  .ezy-cp-picker-row {
    flex-wrap: nowrap;
  }

  .ezy-cp-picker-field {
    flex: 1 1 auto;
    width: auto;
  }

  .ezy-cp-btn-create {
    flex: 0 0 auto;
    width: auto;
  }
}

/* -------------------------------------------------------------------------
   Public catalog page
   ------------------------------------------------------------------------- */
.ezy-cp-public {
  overflow-x: hidden;
}

.ezy-cp-public .ezy-cp-public-card,
.ezy-cp-public .ezy-cp-similar {
  max-width: 100%;
  min-width: 0;
}

.ezy-cp-public-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
}

.ezy-cp-public-identity {
  display: flex;
  flex: 1 1 220px;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ezy-cp-public-title-block {
  min-width: 0;
  flex: 1 1 auto;
}

.ezy-cp-public-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  word-break: break-word;
  line-height: 1.3;
}

.ezy-cp-edit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  margin-left: 0.1rem;
  border-radius: 50%;
  color: #00b074;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
}

.ezy-cp-edit-icon:hover,
.ezy-cp-edit-icon:focus {
  color: #008a5b;
  background: #e8f5ef;
  text-decoration: none;
}

.ezy-cp-mark {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f5ef;
  color: #0a7a4b;
  border: 1px solid rgba(0, 176, 116, 0.22);
}

.ezy-cp-mark-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ezy-cp-mark-letter {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  user-select: none;
}

.ezy-cp-public-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.ezy-cp-public-actions .ezy-cp-cta-btn,
.ezy-cp-public-actions .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
}

.ezy-cp-badge {
  display: inline-block;
  vertical-align: middle;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.3;
  white-space: nowrap;
}

.ezy-cp-badge-claimed {
  background: #e8f5ef;
  color: #0a7a4b;
  font-weight: 800;
}

.ezy-cp-badge-unclaimed {
  /* Kept for admin/legacy; public catalog never shows Unclaimed */
  background: #dc3545;
  color: #fff;
  font-weight: 800;
}

.ezy-cp-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 6px;
}

.ezy-cp-request-claim-wrap {
  display: block;
  clear: both;
  width: 100%;
  margin: 1.25rem 0 0;
  padding: 0;
  text-align: right;
  line-height: 1.4;
}

.ezy-cp-request-claim-link {
  display: inline-block;
  font-size: 1rem; /* font-size-4 */
  font-weight: 500;
  color: #0070ac; /* theme allports — same family as profile accents */
  text-decoration: underline;
}

.ezy-cp-request-claim-link:hover,
.ezy-cp-request-claim-link:focus {
  color: #005786;
}

.ezy-cp-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ezy-cp-write-review-cta {
  font-size: 1.05rem;
  color: #00b074;
  text-decoration: none;
}

.ezy-cp-write-review-cta:hover,
.ezy-cp-write-review-cta:focus {
  color: #008a5b;
  text-decoration: underline;
}

.ezy-cp-write-review-btn-wrap {
  display: block;
}

.ezy-cp-write-review-btn {
  min-width: 220px;
  min-height: 48px;
  font-size: 1.05rem;
  font-weight: 600;
  background: #00b074 !important;
  border-color: #00b074 !important;
  color: #fff !important;
}

.ezy-cp-write-review-btn.btn-sm {
  min-width: auto;
  min-height: auto;
}

.ezy-cp-write-review-btn:hover,
.ezy-cp-write-review-btn:focus {
  background: #008a5b !important;
  border-color: #008a5b !important;
  color: #fff !important;
}

.ezy-cp-star-pick {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ezy-cp-star-btn {
  background: none;
  border: 0;
  padding: 0 4px;
  font-size: 1.55rem;
  line-height: 1;
  color: #d1d5db;
  cursor: pointer;
}

.ezy-cp-star-btn.is-on,
.ezy-cp-star-btn.is-on i {
  color: #00b074;
}

.ezy-cp-overall-stars .fa-star,
.ezy-cp-overall-stars .far.fa-star {
  margin-right: 2px;
}

.ezy-cp-write-review {
  padding: 1rem 0 0.25rem;
}

.ezy-cp-review-item + .ezy-cp-review-item {
  margin-top: 0.25rem;
}

.ezy-cp-review-item img,
.ezy-cp-review-item .user-image,
.ezy-cp-review-item .circle-72,
.ezy-cp-review-item .square-72 {
  display: none !important;
}

.ezy-cp-review-name,
.ezy-cp-review-name a {
  color: inherit;
  pointer-events: none;
  text-decoration: none;
  cursor: default;
}

.ezy-cp-review-first-only {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Write a Review modal: compact, two-column criteria, sticky submit. */
#ezy-cp-review-modal .ezy-cp-review-dialog {
  max-width: 640px;
  width: calc(100% - 1.5rem);
  margin: 0.75rem auto;
}
#ezy-cp-review-modal .ezy-cp-review-shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 1.5rem);
  overflow: hidden;
}
#ezy-cp-review-modal #ezy-cp-review-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 1.5rem);
}
#ezy-cp-review-modal .ezy-cp-review-body {
  overflow-y: auto;
  flex: 1 1 auto;
  padding: 1rem 1.25rem 0.5rem;
}
#ezy-cp-review-modal .ezy-cp-review-body h4 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
#ezy-cp-review-modal .ezy-cp-review-name-block {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1rem;
  white-space: nowrap;
}
#ezy-cp-review-modal .ezy-cp-review-name-block > * {
  width: auto;
  max-width: none;
}
#ezy-cp-review-modal .ezy-cp-review-name-label {
  margin: 0;
  flex: 0 0 auto;
  font-weight: 400;
}
#ezy-cp-review-modal .ezy-cp-review-shown-name {
  margin: 0;
  flex: 0 1 auto;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
}
#ezy-cp-review-modal .ezy-cp-review-first-only {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  min-height: 0;
  flex: 0 0 auto;
}
#ezy-cp-review-modal .ezy-cp-review-first-only .form-check-input {
  position: static;
  float: none;
  margin: 0;
  flex-shrink: 0;
}
#ezy-cp-review-modal .ezy-cp-review-first-only .form-check-label {
  margin: 0;
  padding: 0;
}
#ezy-cp-review-modal .ezy-cp-review-hint {
  margin: 0.55rem 0 0.55rem;
}
#ezy-cp-review-modal .ezy-cp-star-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.25rem;
  row-gap: 0.4rem;
  margin-bottom: 0.35rem;
}
#ezy-cp-review-modal .ezy-cp-star-row label {
  margin-bottom: 0.1rem;
  font-size: 0.92rem;
}
#ezy-cp-review-modal .ezy-cp-star-btn {
  font-size: 1.2rem;
  padding: 0 2px;
}
#ezy-cp-review-modal .ezy-cp-overall-row {
  margin: 0.45rem 0 0.55rem;
}
#ezy-cp-review-modal .ezy-cp-review-message-wrap {
  margin-bottom: 0.25rem;
}
#ezy-cp-review-modal .ezy-cp-review-message-wrap label {
  margin-bottom: 0.2rem;
}
#ezy-cp-review-modal #ezy-cp-review-message {
  min-height: 4.25rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
}
#ezy-cp-review-modal .ezy-cp-review-foot {
  flex: 0 0 auto;
  padding: 0.55rem 1.25rem 0.8rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
#ezy-cp-review-modal .ezy-cp-review-submit {
  min-height: 40px;
  padding: 0.35rem 1.2rem;
}

@media (max-width: 575.98px) {
  #ezy-cp-review-modal .ezy-cp-star-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 419.98px) {
  #ezy-cp-review-modal .ezy-cp-review-name-block {
    flex-wrap: wrap;
    white-space: normal;
  }
}

html.ezy-theme-dark #ezy-cp-review-modal .ezy-cp-review-shown-name,
html[data-ezy-theme="dark"] #ezy-cp-review-modal .ezy-cp-review-shown-name {
  color: #f3f4f6;
}
html.ezy-theme-dark #ezy-cp-review-modal .ezy-cp-review-foot,
html[data-ezy-theme="dark"] #ezy-cp-review-modal .ezy-cp-review-foot {
  background: #1f2937;
  border-top-color: #374151;
}

.ezy-cp-no-page-modal {
  z-index: 1065;
}

.ezy-cp-manager-reply {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid #00b074;
  background: #f3faf7;
  border-radius: 0 6px 6px 0;
}
.ezy-cp-manager-reply-label {
  color: #00b074;
  letter-spacing: 0.01em;
}
.ezy-cp-reply-open {
  border-color: #00b074 !important;
  color: #00b074 !important;
}
.ezy-cp-reply-open:hover,
.ezy-cp-reply-open:focus {
  background: #00b074 !important;
  color: #fff !important;
}
#ezy-cp-reply-modal .ezy-cp-reply-dialog {
  max-width: 520px;
  width: calc(100% - 1.5rem);
  margin: 0.75rem auto;
}
#ezy-cp-reply-modal .ezy-cp-reply-shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 1.5rem);
  overflow: hidden;
}
#ezy-cp-reply-modal #ezy-cp-reply-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 1.5rem);
}
#ezy-cp-reply-modal .ezy-cp-reply-body {
  overflow-y: auto;
  flex: 1 1 auto;
  padding: 1rem 1.25rem 0.5rem;
}
#ezy-cp-reply-modal #ezy-cp-reply-text {
  min-height: 8rem;
}
#ezy-cp-reply-modal .ezy-cp-reply-foot {
  flex: 0 0 auto;
  padding: 0.55rem 1.25rem 0.8rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
html.ezy-theme-dark .ezy-cp-manager-reply,
html[data-ezy-theme="dark"] .ezy-cp-manager-reply {
  background: #1f2937;
}
html.ezy-theme-dark #ezy-cp-reply-modal .ezy-cp-reply-foot,
html[data-ezy-theme="dark"] #ezy-cp-reply-modal .ezy-cp-reply-foot {
  background: #1f2937;
  border-top-color: #374151;
}

/* Public catalog body: open About Us (no bordered text-area box) + Contact Us. */
.ezy-cp-public .ezy-cp-about {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.ezy-cp-public .ezy-cp-about-heading {
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
  line-height: 1.3;
}

.ezy-cp-public .ezy-cp-about-body {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.75rem 0 1.75rem;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ezy-cp-public .ezy-cp-about-text {
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.ezy-cp-public .company-about,
.ezy-cp-public .company-about p,
.ezy-cp-public .company-about div,
.ezy-cp-public h5.font-size-4,
.ezy-cp-public .ezy-cp-about-text {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ezy-cp-public .ezy-cp-contact {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.ezy-cp-public .ezy-cp-contact-heading {
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.ezy-cp-public .ezy-cp-contact-body {
  margin: 0;
  padding: 0;
}

.ezy-cp-public .ezy-cp-contact-label {
  color: #6b7280;
  margin-right: 0.35rem;
}

.ezy-cp-public .ezy-cp-contact-line a {
  word-break: break-all;
}

.ezy-cp-public .ezy-cp-pad {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .ezy-cp-public .ezy-cp-about-heading {
    margin-bottom: 1.5rem;
  }

  .ezy-cp-public .ezy-cp-about-body {
    padding: 1rem 0 2rem;
  }

  .ezy-cp-public .ezy-cp-pad {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 992px) {
  .ezy-cp-public .ezy-cp-about-heading {
    margin-bottom: 1.75rem;
  }

  .ezy-cp-public .ezy-cp-about-body {
    padding: 1.25rem 0 2.25rem;
  }

  .ezy-cp-public .ezy-cp-pad {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (max-width: 575.98px) {
  .ezy-cp-public-header {
    flex-direction: column;
    align-items: stretch;
  }

  .ezy-cp-public-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .ezy-cp-public-actions .ezy-cp-cta-btn,
  .ezy-cp-public-actions .btn {
    width: 100%;
  }
}

.ezy-cp-public .ezy-cp-nav-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
}

.ezy-cp-similar .media {
  max-width: 100%;
}

.ezy-cp-similar h4 {
  word-break: break-word;
}

html[data-ezy-theme="dark"] .ezy-cp-mark,
html.ezy-theme-dark .ezy-cp-mark {
  background: rgba(61, 214, 140, 0.16);
  color: #3dd68c;
  border-color: rgba(61, 214, 140, 0.28);
}

/* -------------------------------------------------------------------------
   Claim / transfer KYC form
   ------------------------------------------------------------------------- */
.ezy-cp-claim-form .form-control,
.ezy-cp-claim-form .form-control-file,
.ezy-cp-claim-form textarea,
.ezy-cp-claim-form input[type="file"] {
  max-width: 100%;
  width: 100%;
}

.ezy-cp-claim-form .ezy-cp-form-actions,
.ezy-cp-admin .ezy-cp-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.ezy-cp-claim-form .ezy-cp-form-actions .btn,
.ezy-cp-admin .ezy-cp-form-actions .btn {
  max-width: 100%;
  white-space: normal;
}

.ezy-cp-claim-form p,
.ezy-cp-claim-form h2 {
  word-break: break-word;
}

@media (max-width: 575.98px) {
  .ezy-cp-claim-form .bg-white.rounded-4,
  .ezy-cp-claim-form .ezy-cp-claim-card {
    padding: 1.25rem !important;
  }

  .ezy-cp-claim-form .ezy-cp-form-actions .btn-link {
    padding-left: 0;
  }
}

/* -------------------------------------------------------------------------
   Employer Manage Company Page
   ------------------------------------------------------------------------- */
.ezy-cp-manage .form-control,
.ezy-cp-manage textarea,
.ezy-cp-manage input[type="file"] {
  max-width: 100%;
  width: 100%;
}

.ezy-cp-manage .ezy-cp-manage-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.ezy-cp-manage .ezy-cp-manage-meta .badge {
  white-space: normal;
  text-align: left;
  line-height: 1.3;
}

.ezy-cp-manage img {
  max-width: 100%;
  height: auto;
}

/* -------------------------------------------------------------------------
   Superadmin Company Pages
   ------------------------------------------------------------------------- */
.ezy-cp-admin .ezy-cp-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.ezy-cp-admin .ezy-cp-admin-toolbar .btn {
  margin: 0;
  white-space: normal;
}

.ezy-cp-admin .card-header.d-flex {
  gap: 12px;
}

.ezy-cp-admin .table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ezy-cp-admin .table {
  margin-bottom: 0;
}

.ezy-cp-admin .form-control,
.ezy-cp-admin textarea,
.ezy-cp-admin input[type="file"] {
  max-width: 100%;
}

.ezy-cp-admin pre,
.ezy-cp-admin code {
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
  white-space: pre-wrap;
}

.ezy-cp-admin .ezy-cp-audit-panel {
  max-height: 480px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.ezy-cp-admin .ezy-cp-decide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 767.98px) {
  .ezy-cp-admin .card-header.d-flex {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

/* -------------------------------------------------------------------------
   Dark mode — keep contrast with existing ezy-theme-dark
   ------------------------------------------------------------------------- */
html.ezy-theme-dark .ezy-cp-btn-create,
html[data-ezy-theme="dark"] .ezy-cp-btn-create,
html.ezy-theme-dark .ezy-cp-btn-search,
html[data-ezy-theme="dark"] .ezy-cp-btn-search {
  background: #00b074;
  color: #fff;
  border-color: #00b074;
}

html.ezy-theme-dark .ezy-cp-btn-create:hover,
html.ezy-theme-dark .ezy-cp-btn-create:focus,
html.ezy-theme-dark .ezy-cp-btn-create:active,
html[data-ezy-theme="dark"] .ezy-cp-btn-create:hover,
html[data-ezy-theme="dark"] .ezy-cp-btn-create:focus,
html[data-ezy-theme="dark"] .ezy-cp-btn-create:active,
html.ezy-theme-dark .ezy-cp-btn-search:hover,
html.ezy-theme-dark .ezy-cp-btn-search:focus,
html.ezy-theme-dark .ezy-cp-btn-search:active,
html[data-ezy-theme="dark"] .ezy-cp-btn-search:hover,
html[data-ezy-theme="dark"] .ezy-cp-btn-search:focus,
html[data-ezy-theme="dark"] .ezy-cp-btn-search:active {
  background: #008a5b;
  border-color: #007d52;
  color: #fff;
}

html.ezy-theme-dark .ezy-cp-dropdown,
html[data-ezy-theme="dark"] .ezy-cp-dropdown {
  background: #1e2430;
  border-color: #3a4252;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

html.ezy-theme-dark .ezy-cp-dropdown-item,
html[data-ezy-theme="dark"] .ezy-cp-dropdown-item {
  border-bottom-color: #2c3340;
  color: #e8eaed;
}

html.ezy-theme-dark .ezy-cp-dropdown-item:hover,
html.ezy-theme-dark .ezy-cp-dropdown-item:focus,
html[data-ezy-theme="dark"] .ezy-cp-dropdown-item:hover,
html[data-ezy-theme="dark"] .ezy-cp-dropdown-item:focus {
  background: #2a3344;
}

html.ezy-theme-dark .ezy-cp-dropdown-item .ezy-cp-item-name,
html[data-ezy-theme="dark"] .ezy-cp-dropdown-item .ezy-cp-item-name {
  color: #f1f3f5;
}

html.ezy-theme-dark .ezy-cp-dropdown-item .ezy-cp-item-url,
html.ezy-theme-dark .ezy-cp-dropdown-empty,
html[data-ezy-theme="dark"] .ezy-cp-dropdown-item .ezy-cp-item-url,
html[data-ezy-theme="dark"] .ezy-cp-dropdown-empty {
  color: #a0a8b4;
}

html.ezy-theme-dark .ezy-cp-badge-claimed,
html[data-ezy-theme="dark"] .ezy-cp-badge-claimed {
  background: rgba(61, 214, 140, 0.18);
  color: #3dd68c;
  font-weight: 800;
}

html.ezy-theme-dark .ezy-cp-edit-icon,
html[data-ezy-theme="dark"] .ezy-cp-edit-icon {
  color: #3dd68c;
}

html.ezy-theme-dark .ezy-cp-edit-icon:hover,
html.ezy-theme-dark .ezy-cp-edit-icon:focus,
html[data-ezy-theme="dark"] .ezy-cp-edit-icon:hover,
html[data-ezy-theme="dark"] .ezy-cp-edit-icon:focus {
  color: #6ee7a8;
  background: rgba(61, 214, 140, 0.18);
}

html.ezy-theme-dark .ezy-cp-badge-unclaimed,
html[data-ezy-theme="dark"] .ezy-cp-badge-unclaimed {
  background: #dc3545;
  color: #fff;
  font-weight: 800;
}

html.ezy-theme-dark .ezy-cp-request-claim-link,
html[data-ezy-theme="dark"] .ezy-cp-request-claim-link {
  color: #93c5fd;
}

html.ezy-theme-dark .ezy-cp-write-review-btn,
html[data-ezy-theme="dark"] .ezy-cp-write-review-btn {
  background: #00b074 !important;
  border-color: #00b074 !important;
  color: #fff !important;
}

html.ezy-theme-dark .ezy-cp-star-btn.is-on,
html.ezy-theme-dark .ezy-cp-star-btn.is-on i,
html[data-ezy-theme="dark"] .ezy-cp-star-btn.is-on,
html[data-ezy-theme="dark"] .ezy-cp-star-btn.is-on i {
  color: #34d399;
}

html.ezy-theme-dark .ezy-cp-selected-hint,
html.ezy-theme-dark .ezy-cp-msg.is-ok,
html[data-ezy-theme="dark"] .ezy-cp-selected-hint,
html[data-ezy-theme="dark"] .ezy-cp-msg.is-ok {
  color: #3dd68c;
}

html.ezy-theme-dark .ezy-cp-msg.is-error,
html[data-ezy-theme="dark"] .ezy-cp-msg.is-error {
  color: #ff8a80;
}
/* --- Company name → public catalog page links --- */
a.ezy-cp-name-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.ezy-cp-no-page {
  cursor: pointer;
}
a.ezy-cp-name-link:hover,
a.ezy-cp-name-link:focus {
  color: #00b074;
  border-bottom-color: #00b074;
  text-decoration: none;
}
.ezy-ep-company a.ezy-cp-name-link,
.ezy-ep-company a.ezy-ep-company-link {
  font-weight: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: none;
  border-bottom-color: transparent;
  cursor: pointer;
}
.ezy-ep-company a.ezy-cp-name-link:hover,
.ezy-ep-company a.ezy-cp-name-link:focus,
.ezy-ep-company a.ezy-ep-company-link:hover,
.ezy-ep-company a.ezy-ep-company-link:focus {
  color: #00b074;
  text-decoration: none;
  border-bottom-color: transparent;
}
html[data-ezy-theme="dark"] a.ezy-cp-name-link:hover,
html[data-ezy-theme="dark"] a.ezy-cp-name-link:focus {
  color: #2dd4a0;
  border-bottom-color: #2dd4a0;
}
html[data-ezy-theme="dark"] .ezy-ep-company a.ezy-cp-name-link:hover,
html[data-ezy-theme="dark"] .ezy-ep-company a.ezy-cp-name-link:focus,
html[data-ezy-theme="dark"] .ezy-ep-company a.ezy-ep-company-link:hover,
html[data-ezy-theme="dark"] .ezy-ep-company a.ezy-ep-company-link:focus {
  border-bottom-color: transparent;
}
.home-job-card a.ezy-cp-name-link.job-company-link {
  color: inherit;
}