/* CSS spécifique pour les cartes de Nouvel An */

.card-creation-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.card-creation-page h1 {
  text-align: center;
  color: #0f7a68;
  margin-bottom: 10px;
  font-size: 2.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.card-creation-page .subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.form-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(15, 122, 104, 0.15);
  border: 2px solid #e8f5f2;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 1.1em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #0f7a68;
  background: white;
  box-shadow: 0 0 0 3px rgba(15, 122, 104, 0.1);
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

#messagePreview {
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

.btn-primary {
  background: linear-gradient(135deg, #0f7a68 0%, #334781 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(15, 122, 104, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 122, 104, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary .icon {
  margin-right: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .card-creation-page {
    padding: 15px;
  }
  
  .card-creation-page h1 {
    font-size: 2em;
  }
  
  .form-card {
    padding: 20px;
  }
  
  .btn-primary {
    width: 100%;
    padding: 12px 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card {
  animation: fadeIn 0.6s ease-out;
}

/* Thème sombre */
.dark-theme .form-card {
  background: #1a1a1a;
  border-color: #333;
  color: #fff;
}

.dark-theme .form-group label {
  color: #fff;
}

.dark-theme .form-group input,
.dark-theme .form-group select {
  background: #2a2a2a;
  border-color: #444;
  color: #fff;
}

.dark-theme .form-group input:focus,
.dark-theme .form-group select:focus {
  border-color: #0f7a68;
  background: #333;
}

.dark-theme .card-creation-page .subtitle {
  color: #ccc;
}