@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --accent: #a0c213;
  --bg1: #0a111a;
  --bg2: #0f1729;
  --text-primary: #ffffff;
  --text-secondary: #b9c5cf;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg1);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background animé */
.bg {
  position: fixed;
  inset: 0;
  background: 
    repeating-linear-gradient(45deg, rgba(160,194,19,0.04) 0px, rgba(160,194,19,0.04) 1px, transparent 1px, transparent 40px),
    radial-gradient(circle at 20% 30%, rgba(160,194,19,0.08), transparent 40%);
  animation: pulse 16s infinite alternate;
  z-index: -1;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  100% { opacity: 0.8; }
}

/* Container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 120px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  padding: 8px 16px 8px 8px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.avatar-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.user-info span {
  font-weight: 600;
  font-size: 14px;
}

.btn-logout {
  padding: 6px 14px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 8px;
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background: rgba(255, 107, 107, 0.2);
}

/* Profil utilisateur complet (grille.html) */
/* Ancienne classe user-profile conservée pour compatibilité */
.user-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(23, 27, 35, 0.95), rgba(30, 35, 45, 0.95));
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid rgba(160, 194, 19, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

/* Nouvelle carte profil pour grille.html */
.user-profile-card {
  background: linear-gradient(135deg, 
    rgba(23, 27, 35, 0.98) 0%, 
    rgba(30, 35, 45, 0.98) 50%,
    rgba(23, 27, 35, 0.98) 100%
  );
  border: 2px solid rgba(160, 194, 19, 0.3);
  border-radius: 24px;
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(160, 194, 19, 0.1) inset;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.user-profile-card:hover {
  border-color: rgba(160, 194, 19, 0.5);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(160, 194, 19, 0.2) inset;
}

.profile-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  border: 3px solid var(--accent);
  box-shadow: 
    0 10px 30px rgba(160, 194, 19, 0.5),
    0 0 0 4px rgba(160, 194, 19, 0.1);
  transition: all 0.3s ease;
  object-fit: cover;
}

.user-avatar-large:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 
    0 12px 36px rgba(160, 194, 19, 0.6),
    0 0 0 4px rgba(160, 194, 19, 0.2);
}

.user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-name::before {
  content: "👤";
  font-size: 18px;
}

.user-name-large {
  font-weight: 800;
  font-size: 24px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.user-farm {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(160, 194, 19, 0.1);
  border-radius: 8px;
  width: fit-content;
  border: 1px solid rgba(160, 194, 19, 0.2);
}

.user-farm-badge {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(160, 194, 19, 0.15), rgba(160, 194, 19, 0.05));
  border-radius: 12px;
  width: fit-content;
  border: 2px solid rgba(160, 194, 19, 0.3);
  box-shadow: 0 4px 12px rgba(160, 194, 19, 0.2);
  transition: all 0.3s ease;
}

.user-farm-badge:hover {
  background: linear-gradient(135deg, rgba(160, 194, 19, 0.25), rgba(160, 194, 19, 0.15));
  border-color: rgba(160, 194, 19, 0.5);
  transform: translateY(-2px);
}

.user-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.profile-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 2px solid;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-action .btn-icon {
  font-size: 28px;
  line-height: 1;
}

.btn-action .btn-text {
  font-size: 13px;
  letter-spacing: 0.5px;
}

.btn-admin-access {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
  border-color: rgba(255, 215, 0, 0.5);
  color: #ffd700;
}

.btn-admin-access:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.15));
  border-color: rgba(255, 215, 0, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

.btn-logout {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.05));
  border-color: rgba(255, 107, 107, 0.5);
  color: #ff6b6b;
}

.btn-logout:hover {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(255, 107, 107, 0.15));
  border-color: rgba(255, 107, 107, 0.7);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .user-profile-card {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-left {
    flex-direction: column;
    width: 100%;
  }
  
  .profile-actions {
    width: 100%;
    justify-content: center;
  }
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-logout-small {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 107, 107, 0.1));
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff6b6b;
}

.btn-logout-small:hover {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(255, 107, 107, 0.2));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.3);
}

#adminLink {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
}

#adminLink:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.2));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.3);
}

/* Cards */
.welcome-card,
.pricing-card,
.warning-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 24px;
  animation: slideUp 0.6s ease both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-card { animation-delay: 0.1s; }
.pricing-card { animation-delay: 0.2s; }
.warning-card { animation-delay: 0.3s; }

.card-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

.welcome-card h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.welcome-card p {
  text-align: center;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Prize Display */
.prize-display {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(160, 194, 19, 0.15), rgba(160, 194, 19, 0.05));
  border: 2px solid rgba(160, 194, 19, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}

.prize-icon {
  font-size: 48px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(160, 194, 19, 0.15);
  border-radius: 16px;
}

.prize-content {
  flex: 1;
}

.prize-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.prize-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.prize-info {
  font-size: 14px !important;
  text-align: center !important;
  color: var(--text-secondary) !important;
}

/* Pricing Grid */
.pricing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.price-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.price-item:hover {
  transform: translateY(-3px);
  border-color: rgba(160, 194, 19, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.price-item.highlight {
  background: rgba(160, 194, 19, 0.1);
  border-color: rgba(160, 194, 19, 0.4);
}

.ticket-count {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.ticket-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

/* Warning Card */
.warning-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
  padding: 20px 24px;
}

.warning-icon {
  font-size: 32px;
}

.warning-card p {
  flex: 1;
  margin: 0;
  color: #ff6b6b;
  font-size: 15px;
}

/* Actions */
.actions {
  text-align: center;
  margin-top: 32px;
  animation: slideUp 0.6s ease 0.4s both;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent), #8fbf13);
  border: none;
  border-radius: 14px;
  color: #0a0e27;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(160, 194, 19, 0.3);
}

.btn-play:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(160, 194, 19, 0.4);
}

.btn-play span {
  font-size: 24px;
}

/* Admin Link */
#adminLink {
  text-align: center;
  margin-top: 20px;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(114, 137, 218, 0.15);
  border: 1px solid rgba(114, 137, 218, 0.3);
  border-radius: 10px;
  color: #7289DA;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-admin:hover {
  background: rgba(114, 137, 218, 0.25);
  transform: translateY(-2px);
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(10, 17, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  z-index: 100;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 20px 15px 100px;
  }

  .header {
    flex-direction: column;
    gap: 16px;
  }

  .header h1 {
    font-size: 24px;
  }

  .prize-display {
    flex-direction: column;
    text-align: center;
  }

  .prize-amount {
    font-size: 28px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn-play {
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* ============================================ */
/*            COMPTEUR DE TICKETS               */
/* ============================================ */
.ticket-counter-card {
    background: linear-gradient(135deg, rgba(160, 194, 19, 0.1), rgba(160, 194, 19, 0.05));
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out 0.2s both;
}

.counter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.counter-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.counter-display {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(160, 194, 19, 0.3);
}

.counter-display span {
    font-size: 48px;
}

.counter-warning {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 87, 87, 0.1);
    border-left: 4px solid #ff5757;
    border-radius: 8px;
    color: #ff5757;
    font-weight: 500;
}

/* ============================================ */
/*            BANNER PRIX (SMALL)               */
/* ============================================ */
.prize-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out 0.3s both;
}

.prize-icon-small {
    font-size: 36px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.prize-label-small {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.prize-amount-small {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* ============================================ */
/*               GAME CARD                      */
/* ============================================ */
.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(160, 194, 19, 0.2);
    animation: slideUp 0.6s ease-out 0.4s both;
}

.game-instruction {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(160, 194, 19, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(160, 194, 19, 0.2);
}

.instruction-icon {
    font-size: 24px;
    margin-right: 8px;
}

/* ============================================ */
/*            LOTTERY GRID                      */
/* ============================================ */
.lottery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.grid-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(15, 23, 41, 0.8), rgba(15, 23, 41, 0.6));
    border: 2px solid rgba(160, 194, 19, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(160, 194, 19, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(160, 194, 19, 0.3);
}

.grid-item:hover::before {
    opacity: 1;
}

.grid-item.selected {
    background: linear-gradient(135deg, var(--accent), rgba(160, 194, 19, 0.8));
    border-color: var(--accent);
    color: #0a111a;
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(160, 194, 19, 0.5);
}

.grid-item.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
    color: #0a111a;
    font-weight: 700;
}

/* ============================================ */
/*            MESSAGE CONTAINER                 */
/* ============================================ */
.message-container {
    display: none;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.message-container.success {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4caf50;
    color: #4caf50;
}

.message-container.error {
    background: rgba(255, 87, 87, 0.1);
    border: 2px solid #ff5757;
    color: #ff5757;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================ */
/*            ACTIONS & BUTTONS                 */
/* ============================================ */
.actions {
    display: flex;
    justify-content: center;
}

.btn-validate {
    background: linear-gradient(135deg, var(--accent), rgba(160, 194, 19, 0.8));
    color: #0a111a;
    border: none;
    padding: 16px 48px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(160, 194, 19, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-validate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(160, 194, 19, 0.5);
}

.btn-validate:active {
    transform: translateY(0);
}

.btn-validate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================ */
/*               BACK LINK                      */
/* ============================================ */
.back-link {
    text-align: center;
    margin-top: 24px;
    animation: fadeIn 0.6s ease-out 0.5s both;
}

.back-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link a:hover {
    color: #c8e45f;
    transform: translateX(-4px);
}

/* ============================================ */
/*            ADMIN STYLES                      */
/* ============================================ */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-admin {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid rgba(160, 194, 19, 0.3);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-admin:hover {
    background: rgba(160, 194, 19, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-admin.danger {
    border-color: rgba(255, 87, 87, 0.3);
    color: #ff5757;
}

.btn-admin.danger:hover {
    background: rgba(255, 87, 87, 0.1);
    border-color: #ff5757;
}

.btn-admin.primary {
    background: linear-gradient(135deg, var(--accent), rgba(160, 194, 19, 0.8));
    color: #0a111a;
    border: none;
}

.btn-admin.primary:hover {
    box-shadow: 0 4px 15px rgba(160, 194, 19, 0.4);
}

.admin-table {
    width: 100%;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(160, 194, 19, 0.2);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: rgba(160, 194, 19, 0.1);
}

.admin-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.admin-table td {
    padding: 16px;
    border-top: 1px solid rgba(160, 194, 19, 0.1);
    color: var(--text-primary);
}

.admin-table tbody tr {
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background: rgba(160, 194, 19, 0.05);
}

.admin-form {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(160, 194, 19, 0.2);
    margin-bottom: 24px;
}

.admin-form-group {
    margin-bottom: 20px;
}

.admin-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.admin-form input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 41, 0.6);
    border: 2px solid rgba(160, 194, 19, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.admin-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(160, 194, 19, 0.1);
}

/* Responsive pour admin */
@media (max-width: 768px) {
    .lottery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-table {
        overflow-x: auto;
    }
    
    .admin-table table {
        min-width: 600px;
    }
}
