@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap");

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: #fff;
}

.main-content {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.registration-card {
  width: 707px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 40px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  margin-top: 80px;
  margin-bottom: 60px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.card-logo {
  width: 34px;
  height: 48px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.registration-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.registration-description {
  text-align: center;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
}

.account-type-selector {
  margin-bottom: 30px;
}

.selector-title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin-bottom: 12px;
}

.toggle-container {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.toggle-input {
  position: absolute;
  opacity: 0;
}

.toggle-label {
  flex: 1;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  position: relative;
  min-width: 160px;
  max-width: 260px;
}

.toggle-label:hover {
  border-color: #16a34a;
  background-color: #f0fdf4;
}

.toggle-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f0fdf4;
  color: #16a34a;
  transition: all 0.2s ease;
}

.toggle-icon svg {
  width: 28px;
  height: 28px;
}

.toggle-label span {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  text-align: center;
}

/* Styles pour l'option sélectionnée */
.toggle-input:checked + .toggle-label {
  background-color: #f0fdf4;
  border: 2px solid #16a34a;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
}

.toggle-input:checked + .toggle-label .toggle-icon {
  background-color: #16a34a;
  color: white;
}

.toggle-input:checked + .toggle-label span {
  color: #16a34a;
  font-weight: 600;
}

/* Selector container styles - removing the old styles that are no longer needed */
.selector-container {
  display: none;
}

.account-type-button {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}

.form-input {
  width: 100%;
  height: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  box-sizing: border-box;
}

.terms-container {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 20px;
}

.terms-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid #16a34a;
  border-radius: 4px;
}

.terms-label {
  font-size: 14px;
  color: #000;
}

.terms-link {
  color: #000;
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  height: 40px;
  color: #fff1f2;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  margin-bottom: 20px;
  background-color: #16a34a;
}

.login-text {
  text-align: center;
  color: #000;
  font-size: 14px;
  margin: 0;
  text-decoration: underline;
  text-decoration-color: #16a34a;
}

@media (max-width: 991px) {
  .page-header {
    padding: 13px 20px;
  }

  .registration-card {
    width: 100%;
    max-width: 707px;
  }
}

@media (max-width: 640px) {
  .navigation {
    display: none;
  }

  .registration-card {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer styles */
.site-footer {
  border-top: 0.667px solid #e2e8f0;
  padding: 48px 32px 24px;
  background-color: #fff;
}

.footer-content {
  max-width: 1245px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer-section {
  max-width: 250px;
}

.footer-logo {
  width: 34px;
  height: 48px;
}

.footer-brand {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  margin-top: 8px;
}

.company-description {
  color: #64748b;
  font-size: 14px;
  margin-top: 16px;
}

.footer-heading {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.footer-bottom {
  max-width: 1245px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 0.667px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
}

.copyright {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-link {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

/* Responsive styles */
@media (max-width: 991px) {
  .nav-container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .footer-content {
    padding: 0 16px;
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-section {
    flex: 1;
    min-width: 200px;
  }

  .footer-bottom {
    padding: 0 16px;
  }
}

@media (max-width: 640px) {
  .login-container {
    width: 100%;
    margin: 0 16px;
    padding: 16px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-section {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
}

/* Media queries améliorées pour responsive */
@media (max-width: 1024px) {
  .signup-container {
    width: 500px;
    padding: 30px;
  }
  
  .company-name, .signup-title {
    font-size: 24px;
  }
  
  .form-grid {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 30px 16px;
  }
  
  .signup-container {
    width: 100%;
    max-width: 500px;
    padding: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .company-name {
    font-size: 22px;
  }
  
  .signup-title {
    font-size: 22px;
    margin-top: 16px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .account-type-selector {
    padding: 16px;
  }
  
  .selector-title {
    font-size: 16px;
  }
  
  .toggle-container {
    margin-top: 16px;
  }
}

@media (max-width: 576px) {
  .signup-container {
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .login-logo {
    width: 28px;
    height: 40px;
  }
  
  .company-name {
    font-size: 20px;
  }
  
  .signup-title {
    font-size: 20px;
    margin-top: 14px;
  }
  
  .signup-subtitle {
    font-size: 13px;
  }
  
  .form-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .form-input {
    height: 38px;
    font-size: 14px;
  }
  
  .account-type-selector {
    padding: 14px;
  }
  
  .submit-button {
    height: 40px;
    font-size: 14px;
  }
  
  .login-prompt {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .signup-container {
    padding: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .form-input {
    height: 36px;
    font-size: 13px;
  }
  
  .submit-button {
    height: 38px;
  }
  
  .account-type-selector {
    padding: 12px;
  }
  
  .toggle-label {
    padding: 8px 12px;
  }
}
