@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --bg-start: #fff6f6;
  --bg-end: #fbe6e7;
  --text: #2a1114;
  --muted: #744149;
  --panel: rgba(255, 255, 255, 0.93);
  --line: #f2cfd3;
  --accent: #d41f3c;
  --accent-dark: #a70b24;
  --tag-bg: #fff0f2;
  --tag-text: #a70b24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1300px 650px at 95% -10%, #ffb5bf 0%, rgba(255, 181, 191, 0) 60%),
    radial-gradient(1200px 600px at -10% 20%, #ffd5dc 0%, rgba(255, 213, 220, 0) 55%),
    linear-gradient(150deg, var(--bg-start), var(--bg-end));
  min-height: 100vh;
}

.container {
  width: min(1040px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid #efc4ca;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 245, 247, 0.86));
  backdrop-filter: blur(6px);
}

.header h1 {
  margin: 0;
  padding-top: 22px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.header p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.panel {
  margin: 24px 0 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(146, 13, 37, 0.08);
}

.status {
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px solid #f3b9c3;
  border-radius: 10px;
  background: #fff0f3;
  color: #921125;
  font-weight: 600;
}

.filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.9rem;
  color: #6f3841;
  font-weight: 700;
}

input {
  border: 1px solid #efc7cd;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  border-color: #dc3f57;
  box-shadow: 0 0 0 3px rgba(212, 31, 60, 0.12);
}

button {
  border: 0;
  background: linear-gradient(135deg, var(--accent), #b50c2b);
  color: white;
  border-radius: 10px;
  padding: 11px 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(212, 31, 60, 0.22);
  background: linear-gradient(135deg, #e02a49, var(--accent-dark));
}

.refresh-btn {
  display: inline-block;
  border: 0;
  background: linear-gradient(135deg, var(--accent), #b50c2b);
  color: white;
  border-radius: 10px;
  padding: 11px 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.refresh-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(212, 31, 60, 0.22);
  background: linear-gradient(135deg, #e02a49, var(--accent-dark));
}

.refresh-form {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.refresh-form span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.count {
  color: #642f36;
  margin: 2px 0 14px;
  font-weight: 700;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(146, 13, 37, 0.06);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.card h2 {
  font-size: 1.04rem;
  margin: 0;
  line-height: 1.35;
}

.card a {
  color: var(--text);
  text-decoration: none;
}

.card a:hover {
  color: var(--accent-dark);
}

.source {
  color: #b90f2f;
  font-size: 0.82rem;
  white-space: nowrap;
  background: #ffe8ec;
  border: 1px solid #f4c5cd;
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 700;
}

.meta,
.salary,
.posted {
  margin: 8px 0 0;
  color: #704048;
}

.tags {
  margin: 11px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  font-size: 0.78rem;
  color: var(--tag-text);
  background: var(--tag-bg);
  border: 1px solid #f4c7ce;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.empty {
  background: var(--panel);
  border: 1px dashed #ebb4be;
  border-radius: 14px;
  padding: 16px;
  color: #75444c;
}

@media (max-width: 860px) {
  .filters {
    grid-template-columns: 1fr;
  }
}
