/* HotMeet - CSS Complet avec Responsive Design Intégré */

/* Reset et variables CSS */
:root {
  --primary-color: #8a2be2;
  --primary-dark: #6a1cb0;
  --secondary-color: #ff6b6b;
  --accent-color: #4ecdc4;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e1e8ed;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto !important;
  position: relative;
}

/* Hero avec image de fond SVG améliorée */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 2rem;
  position: relative;
  overflow: visible;
  background:
    linear-gradient(
      135deg,
      rgba(102, 126, 234, 0.15) 0%,
      rgba(118, 75, 162, 0.15) 100%
    ),
    url('/images/hero-custom.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

/* Typographie */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}

/* Header amélioré - Compact et élégant */
.header {
  background: linear-gradient(135deg, #8b0000 0%, #b22222 100%);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  height: 70px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand .logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-brand .logo-img:hover {
  transform: scale(1.05);
}

.nav-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  font-weight: 700;
  line-height: 1;
}

.nav-brand .tagline {
  display: none;
}

.nav-menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Menu utilisateur après connexion */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.user-info:hover {
  background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 1000;
  display: none;
  margin-top: 0.5rem;
}

.user-menu:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  font-size: 0.9rem;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.dropdown-item.logout-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.premium-active {
  color: #ffd700 !important;
  font-weight: 600;
}

/* Boutons */
.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Hero Section améliorée */
.hero-content {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #ff6b6b;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
  font-weight: 800;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #ffffff;
  line-height: 1.7;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 8px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-hero-primary,
.btn-hero-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-hero-primary:hover {
  background: #ff5252;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Visual Hero */
.hero-visual {
  position: relative;
}

.visual-placeholder {
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(20px);
  position: relative;
  margin: 0 auto;
}

.floating-elements {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.element {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  width: 80px;
  height: 80px;
  top: -100px;
  left: -40px;
  animation-delay: 0s;
}

.element-2 {
  width: 60px;
  height: 60px;
  top: 50px;
  right: -80px;
  animation-delay: 2s;
}

.element-3 {
  width: 40px;
  height: 40px;
  bottom: -60px;
  left: -20px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.arrow {
  width: 2px;
  height: 20px;
  background: white;
  margin: 0 auto;
  position: relative;
}

.arrow::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Sections générales */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
}

/* Premium Section */
.premium {
  padding: 5rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  position: relative;
  z-index: 1;
}

.premium-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.premium-text h2 {
  margin-bottom: 1rem;
}

.premium-features {
  list-style: none;
  margin: 2rem 0;
}

.premium-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.premium-features li::before {
  content: '✓';
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.pricing {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.price {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Footer amélioré */
.footer {
  background: #1a1a2e;
  color: #f8f9fa;
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--primary-color);
}

.footer-section h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-bottom {
  color: #8a8a8a;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.footer-bottom strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: var(--transition);
}

/* ===== RESPONSIVE DESIGN INTÉGRÉ ===== */

/* ===== MOBILE (≤768px) ===== */
@media (max-width: 768px) {
  /* Container principal */
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  /* Header et Navigation */
  .header {
    height: 60px;
  }

  .nav {
    padding: 0.5rem 1rem;
  }

  .nav-brand .logo-img {
    width: 35px;
    height: 35px;
  }

  .nav-brand .logo-text {
    font-size: 1.3rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #8b0000 0%, #b22222 100%);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hero Section */
  .hero {
    padding: 6rem 1rem 2rem;
    min-height: 100vh;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .visual-placeholder {
    width: 280px;
    height: 280px;
  }

  /* Features Grid */
  .features {
    padding: 3rem 0;
  }

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

  .feature-card {
    padding: 1.5rem;
  }

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

  /* Premium Section */
  .premium {
    padding: 3rem 0;
  }

  .premium-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .pricing {
    padding: 1.5rem;
  }

  .price {
    font-size: 2.5rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Boutons généraux */
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Scroll Indicator */
  .scroll-indicator {
    bottom: 1rem;
  }

  /* Menu utilisateur sur mobile */
  .user-menu {
    display: none; /* Caché par défaut sur mobile */
  }

  /* Afficher le menu hamburger sur mobile */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Menu utilisateur intégré dans le menu hamburger */
  .nav-menu.active .user-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    order: 999; /* Place en dernier */
  }

  .nav-menu.active .user-info {
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
  }

  .nav-menu.active .dropdown-menu {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    min-width: auto;
    margin-top: 0;
    width: 100%;
  }

  .nav-menu.active .dropdown-item {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
  }

  .nav-menu.active .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
  }

  /* Menu utilisateur mobile intégré */
  .user-menu-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
  }

  .user-menu-mobile .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
  }

  .user-menu-mobile .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .user-menu-mobile .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .user-menu-mobile .user-name {
    color: white;
    font-weight: 500;
    font-size: 1rem;
  }

  .user-menu-mobile .nav-link {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .user-menu-mobile .logout-btn-mobile {
    background: none;
    border: none;
    color: white;
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
  }

  .user-menu-mobile .logout-btn-mobile:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Réorganiser les actions de navigation sur mobile */
  .nav-actions {
    gap: 0.5rem;
  }
}

/* ===== TABLETTE (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero-content {
    gap: 3rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-content {
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== PETIT MOBILE (≤480px) ===== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .visual-placeholder {
    width: 250px;
    height: 250px;
  }

  .feature-card {
    padding: 1rem;
  }

  .pricing {
    padding: 1rem;
  }

  .price {
    font-size: 2rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ===== ANIMATIONS MOBILE ===== */
@media (max-width: 768px) {
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* ===== GESTION DES FORMULAIRES MOBILE ===== */
@media (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 44px;
  }
}

/* ===== ASSURANCE DE VISIBILITÉ ===== */
@media (max-width: 768px) {
  * {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .container > * {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* ===== ORIENTATION PAYSAGE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 120vh;
    padding: 5rem 1rem 2rem;
  }

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

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: auto;
    min-width: 150px;
  }
}

/* ===== STYLES SPÉCIFIQUES POUR L'ANNUAIRE ===== */

/* Grille des utilisateurs */
.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Carte utilisateur améliorée */
.user-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.user-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* En-tête de la carte avec photo à gauche */
.user-card-header {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* Photo de profil */
.user-photo {
  position: relative;
  flex-shrink: 0;
}

.user-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

/* Statut en ligne/hors ligne */
.user-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}

.user-status.online {
  background: #4caf50;
}

.user-status.offline {
  background: #9e9e9e;
}

/* Informations utilisateur */
.user-info {
  flex: 1;
}

.user-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.user-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.user-details span {
  background: var(--bg-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.user-location {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.user-activity {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Badge premium */
.premium-badge {
  background: linear-gradient(45deg, #ffd700, #ffa500);
  color: #000;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Description utilisateur */
.user-description {
  padding: 1rem 1.5rem;
  flex: 1;
}

.description-text {
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-decoration: underline;
}

/* Actions de la carte */
.user-card-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.user-card-actions .btn-primary,
.user-card-actions .btn-secondary {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.9rem;
}

/* Section des filtres */
.filters-section {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.filters-header h2 {
  margin: 0;
  color: var(--text-dark);
}

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

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.range-inputs input {
  flex: 1;
}

/* En-tête des résultats */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.results-header h2 {
  margin: 0;
  color: var(--text-dark);
}

.sort-options select {
  padding: 0.5rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

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

.pagination-current {
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
}

/* Messages d'état */
.loading,
.no-results,
.error {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  font-style: italic;
}

.error {
  color: #f44336;
}

/* Responsive pour l'annuaire */
@media (max-width: 768px) {
  .users-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .user-card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .user-photo img {
    width: 100px;
    height: 100px;
  }

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

  .results-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .user-card-actions {
    flex-direction: column;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .users-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
