body {
  background: #f5f7fb;
  color: #17233d;
}

.employer-page-logo {
  color: inherit;
  text-decoration: none;
}

.employer-page-home-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #d7dfec;
  border-radius: 10px;
  background: #ffffff;
  color: #1f4fa3;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.employer-page-home-button:hover {
  background: #f7f9fd;
  border-color: #bfcbe0;
  transform: translateY(-1px);
}

.company-dashboard-page {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 32px 24px 64px;
}

.company-dashboard-content {
  width: 100%;
  min-width: 0;
  max-width: 900px;
  margin: 0;
  padding: 0;
}

.employer-dashboard-sidebar {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 16px;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(20, 35, 70, 0.05);
}

.employer-dashboard-sidebar-title {
  margin-bottom: 14px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid #edf0f4;
  color: #6a7891;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.employer-dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.employer-dashboard-nav-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  color: #34415a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.employer-dashboard-nav-link:hover {
  background: #f4f7fc;
  color: #1f5bc4;
}

.employer-dashboard-nav-link.active {
  background: #edf4ff;
  color: #1f5bc4;
}

.company-profile-overview {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid #dce6f5;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 10px 30px rgba(20, 35, 70, 0.05);
}

.company-profile-logo-placeholder {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px dashed #9bb8e7;
  border-radius: 16px;
  background: #edf4ff;
  color: #2764ca;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.company-profile-overview-copy {
  min-width: 0;
}

.company-profile-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #2764ca;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.company-profile-overview h1 {
  margin: 0;
  color: #17233d;
  font-size: 30px;
  line-height: 1.15;
}

.company-profile-overview p {
  max-width: 560px;
  margin: 7px 0 0;
  color: #697790;
  font-size: 14px;
  line-height: 1.55;
}

.company-profile-account-label {
  align-self: start;
  padding: 8px 11px;
  border-radius: 999px;
  background: #edf4ff;
  color: #2459b4;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.company-form-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.company-form-card {
  padding: 22px 24px;
  border: 1px solid #e1e7f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(20, 35, 70, 0.04);
}

.edit-job-section-heading {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}

.edit-job-section-heading h2 {
  margin: 0;
  color: #17233d;
  font-size: 18px;
  line-height: 1.3;
}

.edit-job-section-heading p {
  margin: 5px 0 0;
  color: #7a879c;
  font-size: 13px;
  line-height: 1.45;
}

.edit-job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.edit-job-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.edit-job-field-wide {
  grid-column: 1 / -1;
}

.edit-job-field label {
  color: #283653;
  font-size: 13px;
  font-weight: 750;
}

.edit-job-field small {
  color: #8792a5;
  font-size: 12px;
  line-height: 1.5;
}

.edit-job-field input,
.edit-job-field select,
.edit-job-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7deea;
  border-radius: 10px;
  background: #ffffff;
  color: #17233d;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.edit-job-field input,
.edit-job-field select {
  min-height: 44px;
  padding: 0 13px;
}

.edit-job-field select {
  cursor: pointer;
}

.edit-job-field textarea {
  min-height: 112px;
  padding: 13px;
  resize: vertical;
  line-height: 1.55;
}

.edit-job-field input:focus,
.edit-job-field select:focus,
.edit-job-field textarea:focus {
  border-color: #2d66c7;
  box-shadow: 0 0 0 3px rgba(45, 102, 199, 0.1);
}

.edit-job-field input[readonly] {
  background: #f4f6f9;
  color: #7b879a;
  cursor: not-allowed;
}

.edit-job-warning {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #dbe6f7;
  border-radius: 14px;
  background: #f4f8ff;
}

.edit-job-warning-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #e4efff;
  font-size: 15px;
}

.edit-job-warning strong {
  display: block;
  margin-bottom: 3px;
  color: #254d8f;
  font-size: 13px;
}

.edit-job-warning p {
  margin: 0;
  color: #60728e;
  font-size: 13px;
  line-height: 1.5;
}

.edit-job-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 2px 0 0;
}

.edit-job-cancel-button,
.edit-job-save-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.edit-job-cancel-button {
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #4c5b73;
}

.edit-job-cancel-button:hover {
  background: #f7f9fc;
  border-color: #bdc9da;
  transform: translateY(-1px);
}

.edit-job-save-button {
  border: none;
  background: #1f5bc4;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 91, 196, 0.2);
}

.edit-job-save-button:hover {
  background: #174da9;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(31, 91, 196, 0.26);
}

.edit-job-save-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 900px) {
  .company-dashboard-page {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 26px;
  }

  .company-dashboard-content {
    max-width: none;
  }

  .employer-dashboard-sidebar {
    position: static;
  }

  .employer-dashboard-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 700px) {
  .company-dashboard-page {
    gap: 16px;
    padding: 20px 14px 48px;
  }

  .employer-dashboard-sidebar {
    overflow: hidden;
    padding: 10px;
  }

  .employer-dashboard-sidebar-title {
    display: none;
  }

  .employer-dashboard-nav {
    overflow-x: auto;
    display: flex;
    flex-direction: row;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .employer-dashboard-nav-link {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 0 11px;
    font-size: 13px;
    white-space: nowrap;
  }

  .company-profile-overview {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 16px;
  }

  .company-profile-logo-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 13px;
    font-size: 10px;
  }

  .company-profile-overview h1 {
    font-size: 25px;
  }

  .company-profile-overview p {
    margin-top: 5px;
    font-size: 13px;
  }

  .company-profile-account-label {
    grid-column: 2;
    justify-self: start;
    margin-top: -5px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .company-form-stack {
    gap: 12px;
    margin-top: 12px;
  }

  .company-form-card {
    padding: 18px 16px;
  }

  .edit-job-section-heading {
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .edit-job-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .edit-job-field-wide {
    grid-column: auto;
  }

  .edit-job-warning {
    padding: 14px;
  }

  .employer-page-home-button {
    display: none;
  }
}

@media (max-width: 480px) {
  .company-profile-overview {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .company-profile-logo-placeholder {
    width: 58px;
    height: 58px;
  }

  .company-profile-overview h1 {
    font-size: 23px;
  }

  .company-profile-overview p {
    line-height: 1.45;
  }

  .edit-job-actions {
    flex-direction: column-reverse;
  }

  .edit-job-cancel-button,
  .edit-job-save-button {
    width: 100%;
  }
}
