@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #0066ff;
  --secondary-color: #002233;
  --accent-color: #f39c12;
  --light-bg: #f9fafc;
  --dark-text: #333;
  --light-text: #fff;
  --border-radius: 10px;
  --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f9fafb;
}

.login-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.login-section h1 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 2.5rem;
  position: relative;
}

.login-section h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 2px;
}

.login-description {
  max-width: 700px;
  text-align: center;
  margin-bottom: 35px;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.account-options {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.account-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.account-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.account-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #10b981;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  z-index: 10;
}

.enterprise-badge {
  background-color: #3b82f6;
}

.account-image {
  height: 160px;
  overflow: hidden;
}

.account-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.account-card:hover .account-image img {
  transform: scale(1.05);
}

.account-info {
  padding: 1.5rem;
}

.account-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.account-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.account-features {
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.feature-item i {
  color: #10b981;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.feature-item:first-child i {
  color: #3b82f6;
}

.feature-item span {
  color: #4b5563;
  font-size: 0.9rem;
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1f2937;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  width: 100%;
}

.account-button i {
  margin-right: 0.5rem;
}

.account-button:hover {
  background-color: #111827;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .login-section {
    margin: 2rem auto;
  }

  .account-options {
    gap: 1.5rem;
  }

  .account-card {
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .login-section h1 {
    font-size: 1.75rem;
  }

  .account-image {
    height: 140px;
  }

  .account-info {
    padding: 1.25rem;
  }

  .account-title {
    font-size: 1.3rem;
  }
}

/* Animation subtile pour améliorer l'expérience utilisateur */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-card {
  animation: fadeIn 0.5s ease-out forwards;
}

.account-options .account-card:nth-child(2) {
  animation-delay: 0.2s;
}

/* Focus styles pour l'accessibilité */
.account-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.4);
}

/* Effet de pulsation sur les badges */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.account-badge {
  animation: pulse 2s infinite;
}
