/* ============================================================
   SANSA — Romanian Drug Prevention Mobile Web App
   Main CSS — Mobile-First
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --c-primary: #1B5E8B;
  --c-primary-dark: #0D3B60;
  --c-primary-light: #2980B9;
  --c-primary-bg: #EBF5FB;
  --c-sos: #C62828;
  --c-sos-dark: #8B0000;
  --c-sos-light: #EF5350;
  --c-sos-bg: #FFEBEE;
  --c-hope: #1B5E20;
  --c-hope-light: #4CAF50;
  --c-hope-bg: #E8F5E9;
  --c-warm: #E65100;
  --c-warm-light: #FF9800;
  --c-warm-bg: #FFF3E0;
  --c-bg: #EEF4FB;
  --c-surface: #FFFFFF;
  --c-text: #0D2137;
  --c-text-muted: #5A7A8B;
  --c-border: #C8DDF0;
  --c-shadow: rgba(27, 94, 139, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
}

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

/* ── App Shell ──────────────────────────────────────────────── */
#app-container {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--c-surface);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
}

.app-header {
  height: 56px;
  background: var(--c-primary);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  color: white;
}

.app-header .logo-img {
  height: 36px;
  object-fit: contain;
}

.app-header .logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: white;
}

.app-header .header-subtitle {
  font-size: 11px;
  opacity: 0.8;
  margin-top: 1px;
}

.app-header .header-back {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  margin-right: 4px;
  display: none;
}

.app-header .header-title {
  font-size: 16px;
  font-weight: 600;
}

/* Quick Exit button */
.quick-exit-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: white;
  font-size: 18px;
  padding: 4px 8px;
  cursor: pointer;
  line-height: 1;
  z-index: 101;
}
.quick-exit-btn span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* ── Screens ────────────────────────────────────────────────── */
.screen {
  display: none;
  min-height: calc(100vh - 56px - 60px);
  padding-bottom: 70px;
  animation: fadeIn 0.25s ease;
}

.screen.active {
  display: block;
}

.screen-sos {
  background: var(--c-sos-bg);
}

.screen-chat {
  display: none;
  flex-direction: column;
  height: calc(100vh - 56px - 60px);
}

.screen-chat.active {
  display: flex;
}

/* ── Bottom Navigation ──────────────────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 60px;
  background: white;
  border-top: 1px solid var(--c-border);
  display: flex;
  z-index: 200;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--c-text-muted);
  font-size: 10px;
  font-weight: 500;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.nav-item .nav-icon {
  font-size: 22px;
  line-height: 1;
}

.nav-item.active {
  color: var(--c-primary);
}

.nav-item:active {
  opacity: 0.7;
  transform: scale(0.95);
}

/* ── Home Screen ────────────────────────────────────────────── */
.home-hero {
  text-align: center;
  padding: 24px 16px 16px;
}

.home-greeting {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}

.home-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
}

.sos-btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px 0 24px;
}

.sos-btn {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C62828, #8B0000);
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(198, 40, 40, 0.45);
  animation: pulse-sos 2.5s infinite;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s;
}

.sos-btn:active {
  transform: scale(0.96);
}

.sos-btn-icon {
  font-size: 44px;
  line-height: 1;
}

.sos-btn-text {
  font-size: 11px;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  margin-top: 4px;
}

.sos-label {
  font-size: 13px;
  color: var(--c-sos);
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px;
  margin-bottom: 20px;
}

.quick-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px var(--c-shadow);
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
  text-align: center;
}

.quick-card:active {
  transform: scale(0.97);
  box-shadow: 0 1px 6px var(--c-shadow);
}

.quick-card .qc-icon {
  font-size: 28px;
  line-height: 1;
}

.quick-card .qc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.3;
}

.quick-card.qc-emergency {
  border: 2px solid var(--c-sos);
}

.quick-card.qc-emergency .qc-icon {
  color: var(--c-sos);
}

.quick-card.qc-green {
  border: 2px solid var(--c-hope-light);
}

.quick-card.qc-green .qc-icon {
  color: var(--c-hope);
}

.quick-card.qc-sms {
  border: 2px solid var(--c-warm-light);
}

.quick-card.qc-sms .qc-icon {
  color: var(--c-warm);
}

.quick-card.qc-chat {
  border: 2px solid var(--c-primary-light);
}

.quick-card.qc-chat .qc-icon {
  color: var(--c-primary);
}

.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 16px;
  margin-bottom: 10px;
}

.section-cards {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.section-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 12px var(--c-shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
}

.section-card:active {
  transform: scale(0.98);
}

.section-card .sc-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.section-card .sc-content {
  flex: 1;
}

.section-card .sc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.section-card .sc-desc {
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.section-card .sc-arrow {
  font-size: 18px;
  color: var(--c-border);
  flex-shrink: 0;
}

.section-card.sc-red {
  border-left: 4px solid var(--c-sos);
}

.section-card.sc-blue {
  border-left: 4px solid var(--c-primary);
}

/* ── SOS Screen ─────────────────────────────────────────────── */
.sos-screen-header {
  background: var(--c-sos);
  color: white;
  padding: 16px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sos-screen-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.sos-emergency-bar {
  background: var(--c-sos-dark);
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
}

.sos-content {
  padding: 16px;
}

.sos-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-text-muted);
  margin-bottom: 12px;
  padding-top: 8px;
}

.step-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  box-shadow: 0 2px 12px var(--c-shadow);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Icon circle (when emoji icon is present) */
.step-num-wrap {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.step-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary-bg);
  border: 2px solid var(--c-primary);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-badge {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  background: var(--c-primary);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid white;
}

.step-content .step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.step-content .step-desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.call-btn {
  width: 100%;
  background: var(--c-hope);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s;
}

.call-btn:active {
  opacity: 0.85;
}

.call-btn .cb-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.call-btn .cb-name {
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.call-btn .cb-number {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.call-btn.cb-emergency {
  background: var(--c-sos);
}

.call-btn.cb-blue {
  background: var(--c-primary);
}

.location-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 12px var(--c-shadow);
}

.location-card .loc-icon {
  font-size: 24px;
  flex-shrink: 0;
  color: var(--c-primary);
}

.location-card .loc-address {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
}

.location-card .loc-subtitle {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-top: 2px;
}

.location-card .loc-loading {
  font-style: italic;
  color: var(--c-text-muted);
}

.copy-btn {
  margin-top: 8px;
  background: var(--c-primary-bg);
  border: 1px solid var(--c-primary-light);
  color: var(--c-primary);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Parents Zone ───────────────────────────────────────────── */
.zone-header {
  background: var(--c-primary);
  color: white;
  padding: 20px 16px;
}

.zone-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.zone-header p {
  font-size: 13px;
  opacity: 0.85;
}

.category-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px var(--c-shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
  border: none;
  width: 100%;
  text-align: left;
}

.category-item:active {
  transform: scale(0.98);
}

.cat-icon {
  font-size: 36px;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-bg);
}

.cat-content {
  flex: 1;
}

.cat-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.cat-desc {
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.cat-count {
  font-size: 11px;
  color: var(--c-primary);
  font-weight: 600;
  margin-top: 4px;
}

.cat-arrow {
  font-size: 18px;
  color: var(--c-border);
}

.article-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--c-shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.15s;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: stretch;
}

.article-item:active {
  transform: scale(0.98);
}

.article-item .ai-thumb {
  width: 90px;
  min-width: 90px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.article-item .ai-body {
  padding: 14px;
  flex: 1;
  min-width: 0;
}

.article-item .ai-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}

.article-item .ai-excerpt {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.4;
}

.article-view-content {
  padding: 16px;
}

.article-hero-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: block;
}

.article-view-content h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-view-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin: 20px 0 10px;
}

.article-view-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-primary);
  margin: 16px 0 8px;
}

.article-view-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 14px;
}

.article-view-content ul li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: 6px;
  list-style: disc;
  margin-left: 20px;
}

.article-view-content .highlight-box {
  background: var(--c-primary-bg);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 16px 0;
}

.article-view-content .warning-box {
  background: var(--c-sos-bg);
  border-left: 4px solid var(--c-sos);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 16px 0;
}

/* ── Chatbot ────────────────────────────────────────────────── */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  display: flex;
  gap: 8px;
  animation: fadeIn 0.3s ease;
}

.chat-message.user-msg {
  flex-direction: row-reverse;
}

.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: flex-end;
}

.bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.bubble-bot {
  background: white;
  color: var(--c-text);
  border-radius: 4px 18px 18px 18px;
  box-shadow: 0 1px 6px var(--c-shadow);
}

.bubble-user {
  background: var(--c-primary);
  color: white;
  border-radius: 18px 4px 18px 18px;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: white;
  border-radius: 4px 18px 18px 18px;
  box-shadow: 0 1px 6px var(--c-shadow);
  width: fit-content;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-text-muted);
  animation: typing-bounce 1.2s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.chat-input-area {
  padding: 10px 12px;
  background: white;
  border-top: 1px solid var(--c-border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 15px;
  outline: none;
  resize: none;
  max-height: 100px;
  font-family: inherit;
  background: var(--c-bg);
  transition: border-color 0.2s;
}

.chat-input:focus {
  border-color: var(--c-primary);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.chat-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-intro {
  text-align: center;
  padding: 24px 20px;
  color: var(--c-text-muted);
}

.chat-intro .ci-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.chat-intro .ci-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}

.chat-intro .ci-text {
  font-size: 13px;
  line-height: 1.6;
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
  justify-content: center;
}

.suggestion-chip {
  background: var(--c-primary-bg);
  border: 1px solid var(--c-primary-light);
  color: var(--c-primary);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.suggestion-chip:active {
  background: var(--c-primary);
  color: white;
}

/* ── Loading & Misc ─────────────────────────────────────────── */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: var(--c-text-muted);
}

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

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--c-text-muted);
}

.empty-state .es-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  background: var(--c-sos);
  color: white;
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes pulse-sos {
  0% {
    box-shadow: 0 8px 32px rgba(198, 40, 40, 0.45);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 48px rgba(198, 40, 40, 0.65), 0 0 0 16px rgba(198, 40, 40, 0.08);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 8px 32px rgba(198, 40, 40, 0.45);
    transform: scale(1);
  }
}

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

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}

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

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 375px) {
  .home-title {
    font-size: 19px;
  }

  .sos-btn {
    width: 110px;
    height: 110px;
  }

  .sos-btn-icon {
    font-size: 36px;
  }

  .sos-btn-text {
    font-size: 10px;
  }

  .quick-card .qc-label {
    font-size: 11px;
  }

  .quick-card .qc-icon {
    font-size: 24px;
  }

  .section-card .sc-title {
    font-size: 14px;
  }

  .section-card .sc-desc {
    font-size: 11px;
  }

  .cat-name {
    font-size: 14px;
  }

  .article-view-content h1 {
    font-size: 19px;
  }

  .article-view-content p {
    font-size: 14px;
  }

  .bubble {
    font-size: 13px;
  }

  .chat-input {
    font-size: 14px;
  }

  .zone-header h2 {
    font-size: 18px;
  }
}

@media (min-width: 480px) {
  body {
    background: #D5E8F5;
  }

  #app-container {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.18), 0 20px 60px rgba(27, 94, 139, 0.15);
  }
}

@media (min-width: 768px) {
  .admin-sidebar {
    display: block;
  }

  #app-container {
    margin-left: 240px;
  }
}

/* ── Partners Carousel ──────────────────────────────────────── */
.partners-carousel {
  overflow: hidden;
  padding: 8px 0 16px;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.partners-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: partnersScroll 20s linear infinite;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 120px;
  height: 60px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

a.partner-item:hover,
a.partner-item:active {
  box-shadow: 0 4px 12px var(--c-shadow);
  transform: translateY(-2px);
}

.partner-logo {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.partner-name-fallback {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-muted);
  text-align: center;
}
