/* ============================================
   PHONESTORE - Design Premium Moderne
   ============================================ */

/* --- IMPORT POLICES --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* --- VARIABLES CSS --- */
 :root {
  --primary: #D4AF37;        /* Gold principal */
  --primary-dark: #B8960C;   /* Gold foncé */
  --primary-light: #F4D03F;  /* Gold clair */
  --secondary: #C9A84C;      /* Gold moyen */
  --accent: #1A1A2E;         /* Bleu nuit pour le contraste */
  --success: #00b894;
  --warning: #fdcb6e;
  --danger: #e17055;
  --dark: #2d3436;
  --dark-light: #636e72;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray-100: #f7f8fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Dégradés Gold */
.gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #B8960C 100%);
}

.gold-gradient-light {
  background: linear-gradient(135deg, #F4D03F 0%, #D4AF37 100%);
}

.gold-gradient-dark {
  background: linear-gradient(135deg, #1A1A2E 0%, #2d3436 100%);
}
.navbar {
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #D4AF37, #F4D03F, #B8960C, #D4AF37);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}.btn-primary {
  background: linear-gradient(135deg, #D4AF37, #C9A84C);
  color: #1A1A2E;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  color: #1A1A2E;
}

.btn-secondary {
  background: linear-gradient(135deg, #F4D03F, #D4AF37);
  color: #1A1A2E;
  box-shadow: 0 4px 15px rgba(244, 208, 63, 0.4);
  font-weight: 700;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(244, 208, 63, 0.6);
  color: #1A1A2E;
}

.btn-accent {
  background: linear-gradient(135deg, #D4AF37, #B8960C);
  color: #1A1A2E;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  font-weight: 700;
}.product-card:hover {
  border: 2px solid #D4AF37;
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.product-price {
  color: #D4AF37;
}
.badge-certified {
  background: linear-gradient(135deg, #D4AF37, #C9A84C);
  color: #1A1A2E;
}

.badge-new {
  background: linear-gradient(135deg, #D4AF37, #F4D03F);
  color: #1A1A2E;
  animation: goldPulse 2s infinite;
}
a {
  color: #D4AF37;
}

a:hover {
  color: #B8960C;
}
.dashboard-card .card-icon {
  background: linear-gradient(135deg, #D4AF37, #F4D03F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cart-table th {
  background: linear-gradient(135deg, #1A1A2E, #D4AF37);
  color: #1A1A2E;
}

.cart-summary .total {
  color: #D4AF37;
}
.dashboard-card:hover {
  border: 2px solid #D4AF37;
}

.dashboard-card .card-value {
  color: #D4AF37;
}.cart-table th {
  background: linear-gradient(135deg, #1A1A2E, #D4AF37);
  color: #1A1A2E;
}

.cart-summary .total {
  color: #D4AF37;
}
.form-group label i {
  color: #D4AF37;
}.footer {
  background: linear-gradient(135deg, #1A1A2E, #16213E);
  color: white;
  border-top: 3px solid #D4AF37;
}.hero {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(212, 175, 55, 0.85));
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.promo-banner {
  background: linear-gradient(135deg, #1A1A2E 0%, #D4AF37 50%, #B8960C 100%);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  border: 2px solid rgba(212, 175, 55, 0.5);
}.dashboard-card .card-icon {
  background: linear-gradient(135deg, #D4AF37, #F4D03F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-card:hover {
  border: 2px solid #D4AF37;
}

.dashboard-card .card-value {
  color: #D4AF37;
}.cart-table th {
  background: linear-gradient(135deg, #1A1A2E, #D4AF37);
  color: #1A1A2E;
}

.cart-summary .total {
  color: #D4AF37;
}

.footer-col h3::after {
  background: linear-gradient(90deg, #D4AF37, #F4D03F);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
@keyframes goldPulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
}
.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid #D4AF37;
  color: #D4AF37;
}

.btn-outline:hover {
  background: #D4AF37;
  color: #1A1A2E;
  transform: translateY(-3px);
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-links li a::before {
  background: linear-gradient(135deg, #D4AF37, #C9A84C);
}

.nav-links li a:hover {
  color: #1A1A2E;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}
/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  background-attachment: fixed;
  color: var(--dark);
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,160L48,176C96,192,192,224,288,229.3C384,235,480,213,576,186.7C672,160,768,128,864,128C960,128,1056,160,1152,170.7C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  z-index: -1;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}
/* --- LOGO AVEC IMAGE PNG --- */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}
 .login-header .icon,
.register-header .icon {
  font-size: 4rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  animation: none !important;  /* Désactive toute animation */
}

.login-header .icon img,
.register-header .icon img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;  /* Centre parfaitement */
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.2));
  animation: none !important;  /* Pas de float */
}



.logo-container:hover {
  transform: scale(1.05);
}

.logo-container:hover .logo-img {
  animation: float 2s ease-in-out infinite;
}

.logo-img {
  height: 90px;  /* Augmenté de 45px à 60px */
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(108, 92, 231, 0.3));

}

.logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.logo-accent {
  background: linear-gradient(135deg, var(--secondary) 0%, #00a8a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- NAVBAR MODERNE --- */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid transparent;
  background-clip: padding-box;
  animation: fadeIn 0.5s ease;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
}

.logo::after {
  content: '📱';
  -webkit-text-fill-color: initial;
  margin-left: 5px;
  animation: float 3s ease-in-out infinite;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-links li a {
  color: var(--dark);
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-links li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
  border-radius: 50px;
}

.nav-links li a:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-links li a:hover::before {
  opacity: 1;
}

/* Badge panier */
.cart-badge {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.75rem;
  margin-left: 5px;
  animation: pulse 2s infinite;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.9), rgba(253, 121, 168, 0.9));
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  color: white;
  margin: 40px 0;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: pulse 4s infinite;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* --- BANNIÈRE PROMOTIONNELLE --- */
.promo-banner {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  color: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '🎉';
  font-size: 4rem;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  animation: float 3s ease-in-out infinite;
  opacity: 0.8;
}

.promo-banner .promo-text {
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 1;
  max-width: 70%;
}

.promo-banner .promo-code {
  background: rgba(255,255,255,0.2);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 2px;
  border: 2px dashed white;
  z-index: 1;
  transition: var(--transition);
  cursor: pointer;
}

.promo-banner .promo-code:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.05);
}

/* --- GRILLE DE PRODUITS --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  animation: fadeInUp 0.6s ease backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.product-card .product-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-card .product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
}

.badge-new {
  background: var(--primary);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s infinite;
}

.badge-certified {
  background: var(--success);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-promo {
  background: var(--accent);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-card .product-info {
  padding: 25px;
}

.product-card .product-brand {
  color: var(--dark-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.product-card .product-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.product-card .product-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--dark-light);
}

.product-card .product-specs span {
  background: var(--gray-200);
  padding: 4px 10px;
  border-radius: 50px;
}

.product-card .product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.product-card .product-price .old-price {
  font-size: 1rem;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-left: 10px;
  font-weight: 400;
}

.product-card .product-actions {
  display: flex;
  gap: 10px;
}

/* --- BOUTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.6);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), #00a8a0);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 206, 201, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 206, 201, 0.6);
  color: white;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #e8508b);
  color: white;
  box-shadow: 0 4px 15px rgba(253, 121, 168, 0.4);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(253, 121, 168, 0.6);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn-lg {
  padding: 18px 35px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 50%;
}

/* --- FORMULAIRES --- */
.form-container {
  max-width: 500px;
  margin: 50px auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.6s ease;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--dark);
}

.form-container h2 i {
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- CART --- */
.cart-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 30px 0;
}

.cart-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 18px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.cart-table td {
  padding: 18px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.cart-table tr:hover td {
  background: var(--gray-100);
}

.cart-table input[type="number"] {
  width: 70px;
  padding: 10px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 1rem;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  margin: 30px 0;
}

.cart-summary .total {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-align: right;
}

/* --- DASHBOARD --- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.dashboard-card .card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.dashboard-card .card-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

/* --- ALERTES --- */
.alert {
  padding: 18px 25px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border-left: 5px solid var(--success);
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border-left: 5px solid var(--danger);
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  color: #856404;
  border-left: 5px solid var(--warning);
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
  border-left: 5px solid #17a2b8;
}

/* --- FILTRE BAR --- */
.filter-bar {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin: 30px 0;
}

.filter-bar select {
  padding: 12px 20px;
  border: 2px solid var(--gray-300);
  border-radius: 50px;
  font-size: 0.95rem;
  background: var(--gray-100);
  cursor: pointer;
  transition: var(--transition);
  min-width: 200px;
}

.filter-bar select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

/* --- FORUM --- */
.forum-category {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-left: 5px solid var(--primary);
}

.forum-category:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-xl);
}

.forum-category h3 {
  font-size: 1.3rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.forum-category h3 i {
  color: var(--primary);
  font-size: 1.5rem;
}

.topic-list {
  list-style: none;
}

.topic-item {
  background: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topic-item:hover {
  background: var(--gray-100);
  transform: translateX(5px);
}

.post {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--gray-200);
}

.post-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

/* --- SECTION RÉPARATION --- */
.repair-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.repair-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.repair-step .step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* --- FOOTER --- */
.footer {
  background: linear-gradient(135deg, var(--dark), #1a1a2e);
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to right bottom, transparent 49%, var(--dark) 50%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 10px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .logo-img {
    height: 50px;  /* Augmenté de 35px à 50px */
  }
  
  .logo-text {
    font-size: 1.6rem;  /* Augmenté de 1.4rem à 1.6rem */
  }
}

@media (max-width: 480px) {
  .logo-container {
    gap: 8px;
  }
  
  .logo-img {
    height: 40px;  /* Augmenté de 30px à 40px */
  }
  
  .logo-text {
    font-size: 1.3rem;  /* Augmenté de 1.2rem à 1.3rem */
  }
}
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    padding: 15px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
  }
  
  .nav-links li a {
    padding: 10px 15px;
    font-size: 0.85rem;
  }
  
  .hero {
    padding: 30px 20px;
    margin: 20px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .product-card .product-image {
    height: 200px;
  }
  
  .cart-table {
    display: block;
    overflow-x: auto;
  }
  
  .filter-bar {
    flex-direction: column;
  }
  
  .filter-bar select {
    width: 100%;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .repair-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* --- ÉTATS DE COMMANDE --- */
.status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-shipped { background: #d4edda; color: #155724; animation: pulse 2s infinite; }
.status-delivered { background: #c3e6cb; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* --- POINTS DE FIDÉLITÉ --- */
.loyalty-card {
  background: linear-gradient(135deg, #ffd700, #ffed4a);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--dark);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.loyalty-card::before {
  content: '💎';
  font-size: 5rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.2;
}

.loyalty-points {
  font-size: 3rem;
  font-weight: 800;
}

/* --- SCROLLBAR STYLE --- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--primary-dark), #e8508b);
}

/* --- LOADING SKELETON --- */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-300) 50%, var(--gray-200) 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
  border-radius: var(--radius-md);
}

/* --- TOOLTIP --- */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.tooltip:hover::after {
  opacity: 1;
  bottom: calc(100% + 10px);
}