/* ===== REQUESTS PAGE ===== */
.requests-main { padding: 2.5rem 1.5rem 3rem; }

.requests-page-header { margin-bottom: 2rem; }
.requests-page-header h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 0.4rem; }

/* ===== SEARCH ===== */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
}

.search-icon { font-size: 0.85rem; color: var(--text-muted); }

.search-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--text);
  width: 180px;
}

/* ===== FILTERS BAR ===== */
.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.status-tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.25rem;
}

.tab-btn {
  padding: 0.45rem 1rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.tab-btn:hover:not(.active) { background: var(--bg); color: var(--text); }

.filter-selects {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
}

.filter-group label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.filter-select {
  border: none;
  outline: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

/* ===== REQUEST CARDS ===== */
.request-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.2s;
}

.request-card:hover { box-shadow: var(--shadow-md); }

.request-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-urgent { background: #fee2e2; }
.icon-normal { background: #dbeafe; }
.icon-low { background: #f0fdf4; }

.request-body { flex: 1; min-width: 0; }

.request-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.request-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.request-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.request-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.request-meta span { display: flex; align-items: center; gap: 0.25rem; }

.request-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-progress-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488 50%, #e2e8f0 50%);
  border: 2px solid var(--border);
  cursor: default;
  flex-shrink: 0;
}

.badge-priority {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-details {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-details:hover { background: var(--navy-mid); }

.btn-archive {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.completed-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--success);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination span { font-size: 0.875rem; color: var(--text-muted); }

.pagination-btns { display: flex; gap: 0.5rem; }

.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .search-wrap { display: none; }
  .filters-bar { flex-direction: column; align-items: flex-start; }
  .request-card { flex-direction: column; }
  .request-actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 480px) {
  .filter-selects { flex-direction: column; align-items: flex-start; width: 100%; }
  .filter-group { width: 100%; }
  .status-tabs { width: 100%; justify-content: space-between; }
}

.btn-assign {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-assign:hover { background: var(--bg); }
