 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 .bo {
     font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
     background-color: #ffffff;
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 100vh;
     padding: 20px;
 }

 .containers {
     display: flex;
     gap: 30px;
     max-width: 1000px;
     width: 100%;
 }

 .left-section {
     flex: 1;
     background-color: #d9d9d9;
     min-height: 500px;
     position: relative;
     overflow: hidden;
     border-radius: 12px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
 }

 .left-section img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
 }

 .right-section {
     flex: 1;
     padding: 50px 50px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     background: transparent;
 }

 h1 {
     font-size: 24px;
     font-weight: 600;
     margin-bottom: 30px;
     color: #000;
 }

 .form-group {
     margin-bottom: 18px;
     flex: 1;
 }

 .form-row {
     display: flex;
     gap: 15px;
     margin-bottom: 0;
 }

 .form-row .form-group {
     margin-bottom: 18px;
 }

 label {
     display: block;
     font-size: 14px;
     font-weight: 500;
     margin-bottom: 8px;
     color: #333;
 }

 .required {
     color: #ef4444;
 }

 input[type="email"],
 input[type="password"],
 input[type="text"],
 input[type="file"],
 input[type="tel"],


 select {
     width: 100%;
     padding: 12px 15px;
     border: 1px solid #e0e0e0;
     border-radius: 6px;
     font-size: 14px;
     transition: border-color 0.3s;
     background: white;
     font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
 }

 select {
     cursor: pointer;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-position: right 15px center;
     padding-right: 40px;
 }

 input[type="file"] {
     padding: 10px 15px;
     cursor: pointer;
 }

 .file-info {
     display: block;
     font-size: 12px;
     color: #888;
     margin-top: 5px;
 }

 input[type="email"]:focus,
 input[type="password"]:focus,
 input[type="text"]:focus,
 input[type="file"]:focus,
 select:focus {
     outline: none;
     border-color: #6c5ce7;
 }

 /* Styles pour les erreurs de validation */
 .is-invalid {
     border-color: #ef4444 !important;
 }

 .invalid-feedback {
     display: block;
     color: #ef4444;
     font-size: 13px;
     margin-top: 5px;
 }

 .password-wrapper {
     position: relative;
 }

 .toggle-password {
     position: absolute;
     right: 15px;
     top: 50%;
     transform: translateY(-50%);
     background: none;
     border: none;
     cursor: pointer;
     padding: 5px;
     color: #666;
 }

 .btn-primar {
     width: 100%;
     padding: 14px;
     background: linear-gradient(135deg, #6c5ce7 0%, #a55eea 100%);
     color: white;
     border: none;
     border-radius: 20px;
     font-size: 15px;
     font-weight: 600;
     cursor: pointer;
     margin-top: 10px;
     transition: transform 0.2s, box-shadow 0.2s;
 }

 .btn-primary:hover {
     transform: translateY(-1px);
     box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
 }

 .forgot-link {
     text-align: center;
     margin-top: 15px;
     font-size: 14px;
 }

 .forgot-link a {
     color: #6c5ce7;
     text-decoration: none;
 }

 .forgot-link a:hover {
     text-decoration: underline;
 }

 .divider {
     text-align: center;
     margin: 20px 0;
     color: #999;
     font-size: 14px;
     position: relative;
 }

 .divider::before,
 .divider::after {
     content: '';
     position: absolute;
     top: 50%;
     width: 42%;
     height: 1px;
     background-color: #e0e0e0;
 }

 .divider::before {
     left: 0;
 }

 .divider::after {
     right: 0;
 }

 .btn-google {
     width: 100%;
     padding: 12px;
     background: white;
     border: 1px solid #e0e0e0;
     border-radius: 20px;
     font-size: 14px;
     font-weight: 500;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     transition: background-color 0.2s, border-color 0.2s;
     color: #333;
 }

 .btn-google:hover {
     background-color: #f9f9f9;
     border-color: #d0d0d0;
 }

 .google-icon {
     width: 18px;
     height: 18px;
 }

 .checkbox-group {
     margin: 20px 0;
     display: flex;
     align-items: flex-start;
     gap: 10px;
 }

 .checkbox-group input[type="checkbox"] {
     width: 18px;
     height: 18px;
     min-width: 18px;
     margin-top: 2px;
     cursor: pointer;
     accent-color: #6c5ce7;
 }

 .checkbox-label {
     font-size: 13px;
     color: #555;
     line-height: 1.5;
     cursor: pointer;
 }

 .checkbox-label a {
     color: #6c5ce7;
     text-decoration: underline;
 }

 .checkbox-label a:hover {
     color: #5a4ec9;
 }

 @media (max-width: 768px) {
     .container {
         flex-direction: column;
     }

     .left-section {
         display: none;
     }

     .right-section {
         padding: 40px 30px;
     }

     .form-row {
         flex-direction: column;
         gap: 0;
     }
 }
