@font-face {
    font-family: 'Chapaza';
    src: url('../font/Chapaza.ttf') format('opentype');
}

 :root {
    --primary-color: #292354;
    --primary-light: #403880a5;
    --primary-dark: #171430;
    --secondary-color: #7f8c8d;
    --dark-color: #2c3e50;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Chapaza', sans-serif;
    background: linear-gradient(135deg,
    #2c265e5d 0%,
    #29235454 100%),
    url('{{ asset('./front/img/4.jpg') }}') fixed center no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    margin: auto;
    display: flex;
    min-height: 100vh;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.register-container {
    width: 100%;
    max-width: 1200px;
    background: #2923547d;
    backdrop-filter: blur('25px');
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
}

.register-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #b57d2a0e;
    backdrop-filter: blur('25px');
    position: relative;
    z-index: 2;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    box-shadow: var(--shadow-light);
    margin-bottom: 1rem;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

svg {
    display: none;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-indicator.completed {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-indicators::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 1;
}

.form-section h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-section .subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: slideIn 0.4s ease-out;
}

.role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .role-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }
}

.role-option {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
}

.role-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.role-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color)10, var(--primary-color)05);
}

.role-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.role-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.role-content p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.input-container {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    font-family: 'Chapaza';
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(206, 146, 51, 0.1);
}

.form-group input.valid {
    border-color: var(--success-color);
}

.form-group input.invalid {
    border-color: var(--error-color);
}

.input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    margin-top: 0.25rem;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-weak .strength-fill {
    background: var(--error-color);
    width: 25%;
}

.strength-medium .strength-fill {
    background: #292354;
    width: 50%;
}

.strength-strong .strength-fill {
    background: var(--success-color);
    width: 100%;
}

.feedback-message {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: none;
}

.feedback-message.success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(39, 174, 96, 0.2);
    display: block;
}

.feedback-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(231, 76, 60, 0.2);
    display: block;
}

.btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.image-section {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.image-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.image-section .content {
    position: relative;
    z-index: 2;
}

.image-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.image-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list i {
    color: var(--primary-light);
}

.illustration {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.auth-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.auth-bg span {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.auth-bg span:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.auth-bg span:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--dark-color);
    bottom: -50px;
    right: -50px;
    animation-delay: 3s;
}

.auth-bg span:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    top: 30%;
    right: 20%;
    animation-delay: 6s;
}

.auth-bg span:nth-child(4) {
    width: 250px;
    height: 250px;
    background: var(--dark-color);
    bottom: 30%;
    left: 20%;
    animation-delay: 9s;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(15px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    transition: all 0.3s;
    width: 100%;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(206, 146, 51, 0.1);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.password-match {
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.password-match.valid {
    color: #27ae60;
    display: block;
}

.password-match.invalid {
    color: #e74c3c;
    display: block;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.form-footer a:hover {
    text-decoration: underline;
}

.legal-text {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    text-align: center;
}

.form-check {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    gap: 10px;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.image-content {
    max-width: 80%;
    text-align: center;
    color: white;
    position: relative;
    z-index: 3;
}

.image-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.image-content p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.official-stamp {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
}

.password-criteria {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.password-criteria li.valid {
    color: var(--success-color);
}

.password-criteria li.invalid {
    color: var(--error-color);
}

.strength-feedback {
    font-weight: bold;
    margin-bottom: 5px;
}

.strength-feedback.weak {
    color: var(--error-color);
}

.strength-feedback.medium {
    color: #292354;
}

.strength-feedback.strong {
    color: var(--success-color);
}

.floating-image {
    width: 10rem;
    display: none;
    justify-content: center;
    align-items: center;
    animation: float 8s ease-in-out infinite;
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #27ae60;
}

.invalid {
    border-color: var(--error-color) !important;
}

.valid {
    border-color: var(--success-color) !important;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(5deg);
    }
    50% {
        transform: translate(20px, 0) rotate(0deg);
    }
    75% {
        transform: translate(10px, -10px) rotate(-5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.loading {
    animation: bounce 1s infinite;
}

@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }
    .image-section {
        display: none;
    }
    .auth-card {
        max-width: 100%;
        padding: 1.5rem;
    }
    .auth-bg span {
        display: none;
    }
}

@media (max-width: 768px) {
    .register-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .form-section {
        padding: 2rem;
    }
    .btns {
        flex-direction: column;
    }
}

 :root {
    --primary-color: #292354;
    --primary-light: #403880a5;
    --primary-dark: #171430;
    --secondary-color: #7f8c8d;
    --dark-color: #2c3e50;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.auth-container {
    display: flex;
    min-height: 100vh;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.register-container {
    width: 100%;
    max-width: 1200px;
    backdrop-filter: blur('25px');
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    position: relative;
}

.register-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
}

.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #b57d2a0e;
    backdrop-filter: blur('25px');
    position: relative;
    z-index: 2;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    font-weight: 700;
    box-shadow: var(--shadow-light);
    margin-bottom: 1rem;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.step-indicator.completed {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-indicators::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    z-index: 1;
}

.form-section h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-section .subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: slideIn 0.4s ease-out;
}

.role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}


/* Style pour le sélecteur de pays */


/* .iti {
    width: 100%;
} */


/* Style pour le drapeau */

.iti__flag {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}


/* Style pour le dropdown des pays */

.iti__country-list {
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Ajustement de l'input pour le code pays */

.intl-tel-input.separate-dial-code .iti__selected-flag {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 3px 0 0 3px;
}

@media (min-width: 768px) {
    .role-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }
}

.role-option {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
}

.role-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.role-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color)10, var(--primary-color)05);
}

.role-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.role-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.role-content p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.input-container {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(206, 146, 51, 0.1);
}

.form-group input.valid {
    border-color: var(--success-color);
}

.form-group input.invalid {
    border-color: var(--error-color);
}

.password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    margin-top: 0.25rem;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-weak .strength-fill {
    background: var(--error-color);
    width: 25%;
}

.strength-medium .strength-fill {
    background: var(--primary-color);
    width: 50%;
}

.strength-strong .strength-fill {
    background: var(--success-color);
    width: 100%;
}

.feedback-message {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: none;
}

.feedback-message.success {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(39, 174, 96, 0.2);
    display: block;
}

.feedback-message.error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(231, 76, 60, 0.2);
    display: block;
}

.btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.image-section {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.image-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.image-section .content {
    position: relative;
    z-index: 2;
}

.image-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.image-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list i {
    color: var(--primary-light);
}

.illustration {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.auth-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.auth-bg span {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.auth-bg span:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.auth-bg span:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--dark-color);
    bottom: -50px;
    right: -50px;
    animation-delay: 3s;
}

.auth-bg span:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    top: 30%;
    right: 20%;
    animation-delay: 6s;
}

.auth-bg span:nth-child(4) {
    width: 250px;
    height: 250px;
    background: var(--dark-color);
    bottom: 30%;
    left: 20%;
    animation-delay: 9s;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(15px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--secondary-color);
    font-size: 1rem;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    transition: all 0.3s;
    width: 100%;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px #2923542c;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.password-match {
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.password-match.valid {
    color: #27ae60;
    display: block;
}

.password-match.invalid {
    color: #e74c3c;
    display: block;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.form-footer a:hover {
    text-decoration: underline;
}

.legal-text {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    text-align: center;
}

.form-check {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    gap: 10px;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.image-content {
    max-width: 80%;
    text-align: center;
    color: white;
    position: relative;
    z-index: 3;
}

.image-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.image-content p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.official-stamp {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite;
}

.password-criteria {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.password-criteria li.valid {
    color: var(--success-color);
}

.password-criteria li.invalid {
    color: var(--error-color);
}

.strength-feedback {
    font-weight: bold;
    margin-bottom: 5px;
}

.strength-feedback.weak {
    color: var(--error-color);
}

.strength-feedback.medium {
    color: #292354;
}

.strength-feedback.strong {
    color: var(--success-color);
}

.floating-image {
    width: 10rem;
    display: none;
    justify-content: center;
    align-items: center;
    animation: float 8s ease-in-out infinite;
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #27ae60;
}

.invalid {
    border-color: var(--error-color) !important;
}

.valid {
    border-color: var(--success-color) !important;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-with-icon {
    padding-right: 2.5rem;
    /* espace pour l'icône */
}

.input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(5deg);
    }
    50% {
        transform: translate(20px, 0) rotate(0deg);
    }
    75% {
        transform: translate(10px, -10px) rotate(-5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.loading {
    animation: bounce 1s infinite;
}

@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }
    .image-section {
        display: none;
    }
    .auth-card {
        max-width: 100%;
        padding: 1.5rem;
    }
    .auth-bg span {
        display: none;
    }
}

svg {
    display: none;
}

@media (max-width: 768px) {
    .register-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .form-section {
        padding: 2rem;
    }
    .btns {
        flex-direction: column;
    }
}

</style>