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

.external-jobs-list {
  padding: 0;
  background: transparent;
}
.external-job {
  display: flex;
  align-items: center;
  height: 100px;
  background: transparent;
  padding: 0;
  margin: 0;
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.external-job:hover {
  background-color: rgba(31, 32, 67, 0.05);
}
.external-job-logo {
  width: 55px;
  height: 55px;
  min-width: 55px;
  min-height: 55px;
  background: #999;
  border-radius: 0;
  object-fit: cover;
  margin-right: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.external-job-company {
  color: #1f2043;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  min-width: 180px;
  max-width: 180px;
  word-break: break-word;
  line-height: 1.1;
  margin-right: 80px;
  display: block;
  white-space: normal;
  overflow-wrap: break-word;
  text-overflow: ellipsis;
}
.external-job-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 350px;
  flex-shrink: 1;
}
.external-job-title {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 25px;
  color: #1f2043;
  line-height: 1.1;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}
.external-job-type {
  color: #1f2043;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  font-size: 20px;
  margin: 0;
  line-height: 1.1;
}
.ejs-divider {
  width: 100%;
  height: 1px;
  background: #1f2043;
  margin: 0;
  border: none;
}
.ejs-apply-btn {
  display: none;
}

/* Prevent scrolling when SweetAlert2 popup is shown */
body.swal2-shown {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* ALLE JOBS Button Styling */
.kn-jobboerse-btn {
    background: transparent !important;
    color: rgba(69, 69, 69, 1) !important;
    border: 1px solid #000 !important;
    border-color: rgba(69, 69, 69, 0.6) !important;
    border-radius: 8px !important;
    padding: 9px 10px 7px !important;
    font-size: 13px !important;
    font-weight: 600;
    font-family: 'Lato', Arial, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    display: inline-block;
}

.kn-jobboerse-btn:hover {
    background-color: rgba(69, 69, 69, 0.1) !important;
    border-color: rgba(69, 69, 69, 0.8) !important;
}

.kn-jobboerse-btn:active {
    background-color: rgba(69, 69, 69, 0.2) !important;
}

/* Secondary style - text only */
.kn-jobboerse-btn-secondary {
    background: transparent !important;
    color: white !important;
    border: none !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: normal;
    font-family: inherit !important;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: normal;
    text-decoration: none !important;
    display: inline-block;
    box-shadow: none !important;
}

.kn-jobboerse-btn-secondary:hover {
    color: white !important;
    background: transparent !important;
    border: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.kn-jobboerse-btn-secondary:active {
    color: white !important;
    background: transparent !important;
}

/* Green style - dark green button */
.kn-jobboerse-btn-green {
    background: #186C31 !important;
    color: white !important;
    border: none !important;
    width: 177px !important;
    height: 60px !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 600;
    font-family: 'Lato', Arial, sans-serif;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: normal;
    text-decoration: none !important;
    display: inline-block;
    border-radius: 2px !important;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
    line-height: 60px !important;
    text-align: center !important;
}

.kn-jobboerse-btn-green:hover {
    background: #135428 !important;
    transform: translateY(-1px) !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

.kn-jobboerse-btn-green:active {
    background: #0f421f !important;
    transform: translateY(0) !important;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}

/* Responsive design for mobile */
@media (max-width: 900px) {
  .external-job-company {
    margin-right: 30px;
    min-width: 120px;
    max-width: 180px;
  }
  .external-job-details {
    min-width: 200px;
  }
}
@media (max-width: 600px) {
  .external-job {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 16px 0;
    min-height: 0;
  }
  .external-job-logo {
    margin-bottom: 10px;
    margin-right: 0;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
  }
  .external-job-company, .external-job-details {
    margin-right: 0;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .external-job-company {
    font-size: 16px;
    margin-bottom: 4px;
    margin-top: 2px;
  }
  .external-job-details {
    min-width: 0;
    width: 100%;
  }
  .external-job-title {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .external-job-type {
    font-size: 15px;
  }
  .ejs-divider {
    margin: 8px 0;
  }
}

@media (max-width: 768px) {
    .kn-jobboerse-btn {
        padding: 8px 9px 6px !important;
        font-size: 12px !important;
    }
    
    .kn-jobboerse-btn-secondary {
        font-size: 11px !important;
    }
    
    .kn-jobboerse-btn-green {
        padding: 14px 25px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .kn-jobboerse-btn {
        padding: 7px 8px 5px !important;
        font-size: 11px !important;
    }
    
    .kn-jobboerse-btn-secondary {
        font-size: 10px !important;
    }
    
    .kn-jobboerse-btn-green {
        padding: 12px 22px !important;
        font-size: 14px !important;
    }
} 