/* Styles pour la section des dernières annonces */

/* Section Headers */
.last-annonces-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f57c00;
}

.last-annonces-section h2 {
  font-size: 1.8rem;
  color: #0b1c2c;
  margin: 0;
  font-weight: 700;
}

.last-annonces-section .see-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.last-annonces-section .see-all-link:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.last-annonces-section {
  margin-top: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.last-annonces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  justify-items: center;
}

.annonce-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
  width: 100%;
  max-width: 320px;
}

.annonce-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #f57c00;
}

.annonce-card-header {
  position: relative;
  padding: 1.2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 0.5rem;
  flex-shrink: 0;
}

.annonce-meta-top {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.annonce-date {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

.annonce-type {
  display: inline-block;
  background: #fff3e6;
  color: #f57c00;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
}

.annonce-card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.annonce-title {
  font-size: 1.15rem;
  color: #1a1a1a;
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.annonce-company,
.annonce-location,
.annonce-price {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #555;
}

.company-icon,
.location-icon,
.price-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.annonce-company {
  font-weight: 500;
  color: #0b1c2c;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, #f57c00 0%, #e55d00 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-apply:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(245, 124, 0, 0.3);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #999;
  background: #f9f9f9;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .last-annonces {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .last-annonces {
    grid-template-columns: 1fr;
  }
}

