/* Shared theme styles. Component styles will be added in later stages. */

/* Shared selector based on the original 1.1.0 footer control. */
.recrugate-language-switcher { display: flex; align-items: center; min-width: 0; }
.recrugate-language-switcher__select {
  box-sizing: border-box;
  width: 9.5rem;
  min-width: 0;
  max-width: 100%;
  text-overflow: ellipsis;
  padding: 8px 36px 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  appearance: none;
  background: #fff 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='%23334155' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #334155;
  font: 600 14px Inter, sans-serif;
  cursor: pointer;
}
.recrugate-language-switcher__select:focus-visible { outline: 2px solid #0e43fb; outline-offset: 3px; }

/* Consistent empty states across article, category, archive and search queries. */
.recrugate-empty-state { box-sizing: border-box; display: flex; align-items: flex-start; gap: 24px; width: 100%; padding: clamp(24px, 4vw, 40px); border: 1px solid #e4daf4; border-radius: 20px; background: linear-gradient(120deg, #fff, #faf7ff); }
.recrugate-empty-state__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border: 1px solid #e9d5ff; border-radius: 16px; background: #f3e8ff; color: #7f25fb; }
.recrugate-empty-state__icon svg { width: 28px; height: 28px; }
.recrugate-empty-state__body { min-width: 0; }
.recrugate-empty-state .recrugate-empty-state__title { margin: 0 0 8px; color: #172033; font-size: clamp(20px, 2.5vw, 24px); font-weight: 700; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.recrugate-empty-state .recrugate-empty-state__description { max-width: 640px; margin: 0; color: #526075; font-size: 16px; line-height: 1.6; }
.recrugate-empty-state .recrugate-empty-state__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; padding: 8px 16px; border: 1px solid #dfcef8; border-radius: 10px; color: #7f25fb; background: #fff; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.recrugate-empty-state__link:hover { border-color: #b895f5; background: #f3e8ff; }
.recrugate-empty-state__link:focus-visible { outline: 3px solid #0e43fb; outline-offset: 3px; }
@media (max-width: 479px) {
 .recrugate-empty-state { flex-direction: column; gap: 20px; }
 .recrugate-empty-state__icon { width: 48px; height: 48px; border-radius: 14px; }
}
