@import url('https://fonts.googleapis.com/css?family=Lato:400,500,700&display=swap');

/* --- Widget Compact Styles --- */
/* 1. Remove white background and make full width */
.external-jobs-list {
  max-width: none;
  width: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 8px 0;
}

/* 2. Make logo perfectly square and not overlayed */
.external-job-logo {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  margin-right: 10px;
  border-radius: 4px;
  background: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.external-job-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* 3. Job title next to logo, not overlayed */
.external-job {
  display: flex;
  align-items: flex-start;
  min-height: 36px;
  height: auto;
  padding: 8px 8px 8px 8px;
  margin: 0;
  border-radius: 6px;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.15s;
}

/* 6. Hover effect */
.external-job:hover {
  background: #f0f0f0;
}

/* 5. Make details full width and stack title/city/type vertically */
.external-job-details {
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 4. Job title first, then city, then type (handled by HTML, but ensure spacing) */
.external-job-title {
  font-size: 15px !important;
  color: #54c283 !important;
  font-weight: 700 !important;
  font-family: 'Lato', Arial, sans-serif !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.1 !important;
  order: 1 !important;
}
.external-job-company {
  font-size: 13px !important;
  color: #1f2043 !important;
  font-weight: 400 !important;
  font-family: 'Lato', Arial, sans-serif !important;
  margin: 0 0 2px 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  line-height: 1.1 !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  order: 2 !important;
}
.external-job-type {
  font-size: 12px !important;
  color: #f08d3c !important;
  font-weight: 500 !important;
  font-family: 'Lato', Arial, sans-serif !important;
  margin: 0 !important;
  line-height: 1.1 !important;
  order: 3 !important;
}

.ejs-divider {
  background: #1f2043;
  height: 1px;
  margin: 4px 0;
}
.ejs-apply-btn {
  display: none;
}
@media (max-width: 400px) {
  .external-jobs-list {
    max-width: 100vw;
    border-radius: 0;
    box-shadow: none;
  }
  .external-job {
    padding: 6px 2px;
  }
  .external-job-logo {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }
  .external-job-title {
    font-size: 13px;
  }
  .external-job-company {
    font-size: 11px;
  }
  .external-job-type {
    font-size: 10px;
  }
} 