.match-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.matches-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .matches-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.match-card {
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .match-card {
    padding: 1.25rem;
  }
}

.match-date {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: var(--tag-yellow-bg);
  color: var(--tag-yellow-text);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
}

.heart-icon {
  font-size: 0.875rem;
}

.match-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.match-body {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.match-info {
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
}

.match-info .company-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.match-info .location {
  font-size: 0.85rem;
  color: var(--text-grey);
}

.match-info .location em {
  font-style: italic;
}

.message-btn {
  background: var(--text-dark) !important;
}

.message-btn:hover {
  background: #333 !important;
}
@media(max-width: 420px){
  .message-btn{
    width: 100%;
  }
}