:root {
  --bg: #f8fafc;
  --bg-soft: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-bg: rgba(71, 85, 105, 0.12);
  --accent: #16a34a;
  --accent-2: #2563eb;
  --primary: #2563eb;
  --card: #ffffff;
  --border: #e5e7eb;
}

:root.dark {
  --bg: #0f172a;
  --bg-soft: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --muted-bg: rgba(148, 163, 184, 0.12);
  --accent: #22c55e;
  --accent-2: #60a5fa;
  --primary: #2563eb;
  --card: #111827;
  --border: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  flex: 1;
  width: 100%;
}

/* Navbar */
.navbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* User Menu et App Launcher */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-badge:hover {
  border-color: var(--accent-2);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: white;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.user-name {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown {
  position: absolute;
  top: 42px;
  right: 0;
  min-width: 200px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 3000;
}

.user-menu:hover .user-dropdown,
.user-menu:focus-within .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-item:hover {
  border-color: var(--accent-2);
  background: var(--muted-bg);
}

.menu-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
  border: none;
}

/* App Launcher (Menu des apps au hover du logo) */
.app-launcher-wrap {
  position: relative;
  display: inline-block;
}

.app-flyout {
  position: absolute;
  top: 56px;
  left: 0;
  min-width: 200px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 2000;
}

.app-launcher-wrap:hover .app-flyout,
.app-launcher-wrap:focus-within .app-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-item:hover {
  border-color: var(--accent-2);
  background: var(--muted-bg);
}

.app-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.app-image {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}

.logo {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: var(--muted-bg);
  color: var(--accent);
  border-color: var(--border);
}

/* Dashboard */
.dashboard {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.dashboard h2 {
  margin-bottom: 2rem;
  color: var(--text);
  font-size: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  background: var(--card);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.1);
}

.stat-card.pc {
  border-color: var(--accent-2);
}

.stat-card.pc:hover {
  border-color: var(--accent-2);
  box-shadow: 0 10px 25px rgba(96, 165, 250, 0.1);
}

.stat-card.switch {
  border-color: var(--accent);
}

.stat-card.routeur {
  border-color: var(--accent-2);
}

.stat-card.routeur:hover {
  box-shadow: 0 10px 25px rgba(96, 165, 250, 0.1);
}

.stat-card.moniteur {
  border-color: var(--accent);
}

.stat-card.peripherique {
  border-color: var(--accent-2);
}

.stat-icon {
  font-size: 2.5rem;
}

.stat-icon .icon-img {
  height: 60px;
  width: 60px;
  object-fit: contain;
}

.stat-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent);
}

/* Catégorie Section */
.categorie-section {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  color: var(--text);
  font-size: 2rem;
}

.no-data {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
  font-style: italic;
}

.equipements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.equipement-card {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.equipement-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.1);
}

.card-header {
  background: var(--card);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--accent);
}

.card-title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

.periph-icon {
  font-size: 1.8rem;
  min-width: 2rem;
}

.card-header h3 {
  color: var(--text);
  font-size: 1.2rem;
  margin: 0;
}

.btn-group-header {
  display: flex;
  gap: 0.5rem;
}

.btn-edit {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn-edit:hover {
  background: #1d4ed8;
  transform: scale(1.1);
}

.btn-delete {
  background: #ff6b6b;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.btn-delete:hover {
  background: #ff5252;
  transform: scale(1.1);
}

/* Badges de status */
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.utilisé {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.au-stock {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.décommissioné {
  background: #fee2e2;
  color: #991b1b;
}

.os-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #e0e7ff;
  color: #3730a3;
  white-space: nowrap;
}

.card-body {
  padding: 1rem;
}

.card-body p {
  margin: 0.5rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.card-body strong {
  color: var(--text);
}

.card-footer {
  padding: 1rem;
  display: flex;
  justify-content: center;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--accent-2);
  color: white;
  border-color: var(--accent-2);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(96, 165, 250, 0.4);
}

.btn-info {
  background: #06b6d4;
  color: white;
  border-color: #06b6d4;
}

.btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--bg-soft);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

/* Modal pour ajouter un équipement - plus large et horizontal */
.modal-content.modal-add {
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  width: 95%;
  margin: 2rem auto !important;
  padding: 1.5rem;
  box-sizing: border-box;
}

.modal-add h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1.5rem;
}

/* Sélecteur de catégorie horizontal */
.category-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--muted-bg);
  border-radius: 8px;
}

.category-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 0.5rem;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text);
  min-height: 80px;
}

.category-option:hover {
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

.category-option.selected {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.category-option .cat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.category-option .cat-name {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Grille de formulaire - deux colonnes */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.form-left, .form-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Boutons horizontaux */
.form-buttons-horizontal {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.form-buttons-horizontal .btn {
  flex: 0 1 200px;
}

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

.close {
  color: var(--muted);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--accent);
}

.modal-content h2 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  background: var(--card);
  color: var(--text);
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.form-buttons button {
  flex: 1;
  min-width: 120px;
}

/* Detail Page */
.detail-section {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.detail-back {
  margin-bottom: 1.5rem;
}

.detail-back a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.detail-back a:hover {
  color: var(--accent-2);
}

.detail-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.detail-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.detail-header h1 {
  font-size: 2.5rem;
  margin: 0;
  flex: 1;
}

.detail-header button {
  white-space: nowrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.info-group label {
  display: block;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.info-group p {
  color: var(--text);
  font-size: 1.1rem;
  margin: 0;
}

.detail-qrcode {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.qrcode-container img {
  width: 250px;
  height: 250px;
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 10px;
  background: white;
}

.qrcode-text {
  text-align: center;
  color: var(--accent);
  font-weight: 500;
  margin: 1rem 0 0 0;
}

/* Responsive - Très petit écran (max-width: 480px) */
@media (max-width: 480px) {
  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .equipements-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    justify-content: flex-start;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Modal responsive - très petit écran */
  .modal-content.modal-add {
    max-width: 100%;
    width: 100% !important;
    margin: 0 !important;
    padding: 1rem;
    border-radius: 0;
    max-height: 100vh;
    overflow-y: auto;
  }

  .category-selector {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
  }

  .category-option {
    padding: 0.5rem 0.25rem;
    min-height: 60px;
    font-size: 0.85rem;
  }

  .category-option .emoji {
    font-size: 1.2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .form-group {
    margin-bottom: 0.8rem;
  }

  .form-buttons-horizontal {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .form-buttons-horizontal button {
    width: 100%;
    padding: 0.8rem;
  }

  .modal-add h2 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .detail-header h1 {
    font-size: 1.2rem;
  }
}

/* Responsive - Petit écran (481px à 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .nav-links {
    gap: 0.8rem;
    font-size: 0.9rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .equipements-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    justify-content: flex-start;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Modal responsive - petit écran */
  .modal-content.modal-add {
    max-width: 95vw;
    width: 95vw !important;
    margin: auto !important;
    padding: 1.2rem;
    max-height: 95vh;
  }

  .category-selector {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .category-option {
    padding: 0.8rem 0.5rem;
    min-height: 70px;
  }

  .category-option .emoji {
    font-size: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-buttons-horizontal {
    flex-direction: column;
    align-items: stretch;
  }

  .form-buttons-horizontal button {
    width: 100%;
  }

  .detail-header h1 {
    font-size: 1.8rem;
  }
}

/* Responsive - Tablette (769px à 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .modal-content.modal-add {
    max-width: 90vw;
    width: 90vw !important;
    padding: 1.5rem;
  }

  .category-selector {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
  .modal-content.modal-add {
    max-width: 900px;
    width: auto;
  }

  .category-selector {
    grid-template-columns: repeat(5, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
footer {
  background: var(--bg-soft);
  color: var(--text);
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

footer p {
  margin: 0;
}
/* Barre de recherche globale */
.search-bar {
  background: var(--bg-soft);
  border-bottom: 2px solid var(--accent-2);
  padding: 1.5rem 0;
  position: sticky;
  top: 56px;
  z-index: 99;
}

.search-bar .container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-input-group {
  flex: 1;
  max-width: 600px;
  display: flex;
  gap: 0.5rem;
}

.search-input-group input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--card);
  color: var(--text);
  transition: all 0.3s ease;
}

.search-input-group input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input-group input::placeholder {
  color: var(--muted);
}

.search-btn {
  padding: 0.8rem 1.5rem;
  background: var(--accent-2);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.search-results.active {
  display: block;
}

.search-result-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: var(--bg-soft);
}

.search-result-item strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}

.search-result-item small {
  color: var(--muted);
}

.os-selector {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.os-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 80px;
  text-align: center;
}

.os-option:hover {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.05);
}

.os-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.os-option input[type="radio"]:checked {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.os-option img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.os-option span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.os-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.os-img-small {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .search-bar .container {
    flex-direction: column;
  }
  
  .search-input-group {
    width: 100%;
    max-width: 100%;
  }
}