/**
 * Job Summary Icons - Simple CSS Icons
 * 
 * Basic icons created with CSS without color dependencies
 */

/* Base icon styling */
.icon-location,
.icon-briefcase,
.icon-clock,
.icon-home,
.icon-office,
.icon-building {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  position: relative;
  border: 1px solid #666;
  vertical-align: middle;
}

/* Location Pin Icon */
.icon-location {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border-color: #666;
}

.icon-location:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #666;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Briefcase Icon */
.icon-briefcase {
  border-radius: 2px;
  border-color: #666;
}

.icon-briefcase:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 3px;
  border: 1px solid #666;
  border-bottom: none;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
}

.icon-briefcase:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 1px;
  background-color: #666;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Clock Icon */
.icon-clock {
  border-radius: 50%;
  border-color: #666;
}

.icon-clock:before {
  content: '';
  position: absolute;
  width: 1px;
  height: 5px;
  background-color: #666;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: bottom;
}

.icon-clock:after {
  content: '';
  position: absolute;
  width: 4px;
  height: 1px;
  background-color: #666;
  top: 7px;
  left: 7px;
}

/* Home Icon */
.icon-home {
  border-radius: 0 0 2px 2px;
  border-color: #666;
  border-top: none;
}

.icon-home:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 6px solid #666;
  top: -6px;
  left: 0;
}

.icon-home:after {
  content: '';
  position: absolute;
  width: 4px;
  height: 6px;
  border: 1px solid #666;
  border-top: none;
  bottom: 0;
  right: 2px;
  border-radius: 0 0 1px 1px;
}

/* Container styling */
.job-summary__location,
.job-summary__employment,
.job-summary__posted,
.job-summary__remote {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.job-summary__location-text,
.job-summary__employment-text,
.job-summary__posted-text,
.job-summary__remote-text {
  color: #333;
  font-size: 14px;
}

/* Job Badges Styling */
.job-listing-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -5px;
  float: inline-end;
}

.job-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

.job-badge__icon {
  margin-right: 4px;
}

.job-badge__text {
  font-weight: 500;
  padding: 3px;
}

.job-badge--type {
  background-color: #e3f2fd;
  border-color: #2196f3;
  color: #1976d2;
}

.job-badge--remote {
  background-color: #e3f2fd;
  border-color: #004d7a;
  color: #004d7a;
}

.job-badge--hybrid {
  background-color: #fff3e0;
  border-color: #f57c00;
  color: #f57c00;
}

.job-badge--onsite {
  background-color: #e8f5e8;
  border-color: #388e3c;
  color: #388e3c;
}

/* Smaller icons for badges */
.job-badge .icon-briefcase,
.job-badge .icon-home,
.job-badge .icon-office,
.job-badge .icon-building {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

.job-badge .icon-briefcase:before {
  width: 6px;
  height: 2px;
  top: -3px;
}

.job-badge .icon-briefcase:after {
  width: 8px;
  top: 4px;
}

.job-badge .icon-home:before {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 4px solid #666;
  top: -4px;
}

.job-badge .icon-home:after {
  width: 3px;
  height: 4px;
  right: 1px;
}

/* Office Icon for Hybrid */
.icon-office {
  border-radius: 2px;
  border-color: #666;
}

.icon-office:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 3px;
  border: 1px solid #666;
  border-bottom: none;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
}

.icon-office:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 1px;
  background-color: #666;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Building Icon for On-site */
.icon-building {
  border-radius: 2px;
  border-color: #666;
}

.icon-building:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 3px;
  border: 1px solid #666;
  border-bottom: none;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
}

.icon-building:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 1px;
  background-color: #666;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
} 