/* -------------------------------------------------------------
 * Cleanlook Styling System - Fachschaft Architektur
 * Inspired by Bauhaus, CAD blueprints, and minimal editorial design.
 * ------------------------------------------------------------- */

:root {
  /* Colors */
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --text-primary: #0a0a0c;
  --text-secondary: #6e727f;
  --text-tertiary: #b0b4c3;
  --border-color: #e0e2e8;
  --border-color-light: #f0f1f4;
  --accent-color: #000000;
  --accent-blue: #1c52d8;
  --accent-orange: #ff5e3a;
  --success-color: #10b981;
  --danger-color: #ef4444;
  
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace;
  
  /* Shadows & Radius */
  --radius-none: 0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-flat: 0 1px 2px rgba(0,0,0,0.02);
  --shadow-premium: 0 12px 40px rgba(0, 0, 0, 0.05);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background CAD Grid */
.cad-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
}

/* Typography elements */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Technical Monospace Elements */
.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

/* Buttons styling */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-secondary);
  border: 1px solid var(--accent-color);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-none);
}

.btn-primary:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-color);
}

.btn-primary:disabled {
  background-color: var(--border-color);
  border-color: var(--border-color);
  color: var(--text-tertiary);
  cursor: not-allowed;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-none);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: var(--bg-secondary);
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.btn-icon:hover {
  color: var(--text-primary);
}

.w-full {
  width: 100%;
}

/* Helpers */
.hidden {
  display: none !important;
}

/* AUTHENTICATION SCREEN */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.auth-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--text-primary);
  padding: 3rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px dashed var(--text-secondary);
  pointer-events: none;
  opacity: 0.3;
}

.auth-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 1.5rem auto;
  display: block;
}

.auth-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.auth-header h2 {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
}

.auth-header .subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

.input-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  font-family: var(--font-mono);
  border-radius: var(--radius-none);
  transition: border-color 0.2s ease;
  font-size: 0.9rem;
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--text-primary);
}

.input-wrapper .btn-icon {
  position: absolute;
  right: 12px;
}

.error-msg {
  color: var(--danger-color);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-top: 0.5rem;
  min-height: 18px;
}

.auth-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
  display: flex;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-tertiary);
}

/* APP LAYOUT */
.app-header {
  border-bottom: 1px solid var(--text-primary);
  background-color: var(--bg-secondary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-box {
  width: 42px;
  height: 42px;
  background-color: var(--text-primary);
  color: var(--bg-secondary);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  letter-spacing: -0.05em;
  font-family: var(--font-sans);
}

.logo-image {
  height: 44px;
  width: auto;
  display: block;
}

.logo-area h1 {
  font-size: 1rem;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.sub-logo {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-secondary);
  display: block;
}

.session-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
}

.role-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--success-color);
  border-radius: 50%;
}

.role-badge.admin .dot {
  background-color: var(--accent-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* MAIN CONTENT AREA */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem 2rem;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 680px;
}

.status-board {
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-bottom: 1px dashed var(--border-color-light);
  padding-bottom: 0.5rem;
}

.status-row:last-child {
  border: none;
  padding-bottom: 0;
}

.status-row .label {
  color: var(--text-secondary);
}

.status-row .value {
  font-weight: 700;
}

.status-row .value.highlight {
  color: var(--accent-orange);
}

/* Admin Banner */
.admin-banner {
  background-color: #fffaf0;
  border: 1px solid #ffe0b2;
  color: #b78103;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-banner strong {
  color: #e65100;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-banner svg {
  color: #ff9800;
  flex-shrink: 0;
}

/* Filters & Action Bar */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--text-primary);
  padding-bottom: 0px;
  margin-bottom: 2.5rem;
}

.category-tabs {
  display: flex;
  gap: 0px;
}

.tab-btn {
  background: none;
  border: 1px solid transparent;
  border-bottom: none;
  padding: 1rem 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  top: 1px;
}

.tab-btn .tab-num {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  margin-right: 0.4rem;
  font-weight: 400;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  border-color: var(--text-primary) var(--text-primary) var(--bg-secondary) var(--text-primary);
}

.filter-actions {
  padding-bottom: 0.6rem;
}

/* DESIGN GRID FEED */
.grid-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-loader {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-top-color: var(--text-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* DESIGN CARD */
.design-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Pending admin state design */
.design-card.status-pending {
  border: 1px dashed var(--accent-orange);
}

.design-card.status-pending::before {
  content: 'AUSSTEHEND / FREISCHALTEN';
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--accent-orange);
  color: var(--bg-secondary);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  z-index: 10;
  letter-spacing: 0.05em;
}

/* Image box aspect ratio 4:5 */
.card-image-box {
  position: relative;
  width: 100%;
  padding-top: 110%; /* 11:10 ratio, nice and structural */
  overflow: hidden;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color-light);
}

.card-image-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-card:hover .card-image-box img {
  transform: scale(1.03);
}

/* Content of card */
.card-details {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
}

.card-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.05rem;
  margin: 0.1rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.card-creator {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* Footer / Interaction area */
.card-actions {
  border-top: 1px solid var(--border-color-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--bg-primary);
}

/* Buttons in card actions */
.vote-btn {
  background: none;
  border: none;
  padding: 0.8rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.vote-btn:first-child {
  border-right: 1px solid var(--border-color-light);
}

.vote-btn svg {
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.vote-btn:hover {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.vote-btn:hover svg {
  transform: translateY(-2px);
  opacity: 1;
}

.vote-btn.voted {
  color: var(--accent-blue);
  background-color: #f0f4ff;
  cursor: default;
}

.vote-btn.voted svg {
  opacity: 1;
  fill: var(--accent-blue);
  color: var(--accent-blue);
}

.vote-btn.buy-btn.voted {
  color: var(--success-color);
  background-color: #ecfdf5;
}

.vote-btn.buy-btn.voted svg {
  color: var(--success-color);
  fill: none; /* keep shopping icon outlined but green */
}

.vote-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Admin Card Actions Overlay */
.admin-actions {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-color);
  display: flex;
  background-color: var(--text-primary);
}

.admin-action-btn {
  flex: 1;
  border: none;
  background: none;
  color: var(--bg-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
  letter-spacing: 0.05em;
}

.admin-action-btn.btn-approve {
  background-color: #0d8a5f;
}

.admin-action-btn.btn-approve:hover {
  background-color: var(--success-color);
}

.admin-action-btn.btn-reject {
  background-color: #b91c1c;
}

.admin-action-btn.btn-reject:hover {
  background-color: var(--danger-color);
}

/* EMPTY STATE BOX */
.empty-state {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  background-color: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  margin-top: 2rem;
  padding: 4rem;
}

.empty-box {
  text-align: center;
  max-width: 480px;
}

.empty-box h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.empty-box p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* UPLOAD MODAL DETAILED STYLE */
.modal-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--text-primary);
  padding: 2.5rem;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-premium);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.25rem;
  margin-top: 0.4rem;
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.2rem;
}

.close-btn:hover {
  color: var(--text-primary);
}

/* Upload Dropzone */
.upload-dropzone {
  border: 1.5px dashed var(--border-color);
  background-color: var(--bg-primary);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--text-primary);
  background-color: rgba(0, 0, 0, 0.005);
}

.hidden-file-input {
  display: none;
}

.dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.upload-icon {
  color: var(--text-secondary);
}

.main-prompt {
  font-weight: 600;
  font-size: 0.9rem;
}

.main-prompt .browse {
  text-decoration: underline;
  cursor: pointer;
}

.sub-prompt {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.dropzone-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.dropzone-preview img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 0.8rem;
  border: 1px solid var(--border-color-light);
}

.btn-remove {
  background-color: var(--danger-color);
  color: white;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}

.btn-remove:hover {
  background-color: #d32f2f;
}

/* Form layouts inside modal */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.form-grid .input-group:nth-child(1) {
  grid-column: 1 / -1;
}

.form-grid input, .form-grid select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  border-radius: var(--radius-none);
  font-size: 0.85rem;
}

.form-grid input:focus, .form-grid select:focus {
  outline: none;
  border-color: var(--text-primary);
}

.form-grid select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230a0a0c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 32px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid var(--border-color-light);
  padding-top: 1.5rem;
}

/* NOTIFICATION TOAST */
.notification-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  width: calc(100% - 48px);
}

.toast {
  background-color: var(--text-primary);
  color: var(--bg-secondary);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast.error {
  background-color: var(--danger-color);
}

.toast.success {
  background-color: var(--success-color);
}

.toast-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
}

.toast-close:hover {
  opacity: 1;
}

/* FOOTER STYLING */
.app-footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.technical-code {
  color: var(--text-tertiary);
}

/* Legal Notice Styles */
.legal-card {
  max-width: 700px;
}

.legal-content {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 1rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-align: left;
}

.legal-content h3 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-content p strong {
  color: var(--text-primary);
}

.legal-divider {
  border: none;
  border-top: 1px dashed var(--border-color);
  margin: 1.5rem 0;
}

.text-link {
  text-decoration: underline;
  color: var(--accent-blue);
}

.text-link:hover {
  color: var(--text-primary);
}

.legal-link-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.legal-link-btn:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
  .grid-feed {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }
  .main-content {
    padding: 1.5rem 1rem 4rem 1rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .category-tabs {
    flex-direction: column;
  }
  .tab-btn {
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color-light);
  }
  .tab-btn.active {
    border-color: var(--text-primary);
  }
  .filter-actions {
    padding-bottom: 0;
  }
  .filter-actions button {
    width: 100%;
    justify-content: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .grid-feed {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: 2rem 1.5rem;
  }
}
