/* Main Layout */
.main-content {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-width: 86rem;
}

.page-header {
  margin-bottom: 1.875rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  background: rgba(42, 36, 25, 0.4);
  padding: 1.25rem;
  border-radius: 0.75rem;
}

.page-header h1 {
  margin: 0 0 0.625rem 0;
  font-size: 2em;
  color: #f5e6d3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header .subtitle {
  margin: 0;
  color: #c4b59d;
  font-size: 1.1em;
}

/* Content Header */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.content-header h2 {
  margin: 0;
  font-size: 1.5em;
}

.content-header .description {
  margin: 0.3125rem 0 0 0;
  color: #666;
}

/* Search Bar */
.search-bar {
  flex: 1;
  position: relative;
  min-width: 12.5rem;
  max-width: 21.875rem;
}

.search-bar i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8b7355;
}

.search-bar input {
  width: 100%;
  padding: 0.625rem 0.625rem 0.625rem 2.5rem;
  border: 2px solid rgba(139, 115, 85, 0.4);
  background: rgba(42, 36, 25, 0.6);
  color: #f5e6d3;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.search-bar input::placeholder {
  color: #8b7355;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: rgba(42, 36, 25, 0.8);
}

/* Filter Controls */
.filter-controls {
  display: flex;
  gap: 0.625rem;
}

.filter-btn {
  background: rgba(42, 36, 25, 0.6);
  border: 2px solid rgba(139, 115, 85, 0.5);
  color: #f5e6d3;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.15s;
}

.filter-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-accent);
  color: #000;
  border-color: var(--primary-color);
}

.filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* Action Buttons */
.action-btn {
  background: #f4f4f4;
  border: 1px solid #d0d0d0;
  color: #555;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all 0.15s;
}

.action-btn:hover {
  background: #e9f2ff;
  color: #000;
  border-color: var(--primary-color);
}

.action-btn.primary {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.action-btn.primary:hover {
  background: var(--primary-hover);
}

.action-btn.secondary {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

.action-btn.secondary:hover {
  background: #5a6268;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3.75rem 1.25rem;
  color: #999;
}

.empty-state i {
  font-size: 4em;
  margin-bottom: 1.25rem;
  color: #ddd;
}

.empty-state p {
  margin: 0;
  font-size: 1.1em;
}
