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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #f8fafc;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        .main-wrapper {
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            border-radius: 24px;
            box-shadow: 0 40px 100px rgba(30, 64, 175, 0.3);
            max-width: 850px;
            width: 100%;
            padding: 0;
            position: relative;
            overflow: visible;
        }

        .container {
            display: flex;
            position: relative;
            min-height: 480px;
        }

        .welcome-section {
            flex: 1;
            padding: 55px 45px;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: visible;
        }

        /* Formes géométriques à gauche */
        .shape {
            position: absolute;
        }

        .shape.square-top {
            width: 130px;
            height: 130px;
            top: 55px;
            left: 35px;
            border-radius: 22px;
            background: rgba(59, 130, 246, 0.22);
        }

        .shape.square-bottom {
            width: 100px;
            height: 100px;
            bottom: 90px;
            left: 45px;
            border-radius: 18px;
            background: rgba(96, 165, 250, 0.18);
        }

        .shape.circle-large {
            width: 230px;
            height: 230px;
            bottom: -55px;
            left: 100px;
            border-radius: 50%;
            background: rgba(59, 130, 246, 0.28);
        }

        .shape.circle-bottom-right {
            width: 110px;
            height: 110px;
            bottom: -25px;
            right: -25px;
            border-radius: 50%;
            background: rgba(59, 130, 246, 0.35);
            z-index: 10;
        }

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

        .welcome-section h1 {
            font-size: 44px;
            font-weight: 800;
            margin-bottom: 8px;
            letter-spacing: 3px;
        }

        .welcome-section h2 {
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 22px;
            opacity: 0.95;
            letter-spacing: 0.5px;
        }

        .welcome-section p {
            font-size: 13px;
            line-height: 1.75;
            opacity: 0.88;
            max-width: 300px;
        }

        .form-section {
            flex: 0.8;
            padding: 45px 35px;
            background: #ffffff;
            position: relative;
            clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
            margin-left: -50px;
        }

        .form-content {
            max-width: 300px;
            margin-left: 18px;
        }

        .form-section h3 {
            font-size: 32px;
            color: #1a202c;
            margin-bottom: 6px;
            font-weight: 700;
        }

        .form-section .subtitle {
            color: #64748b;
            font-size: 12px;
            margin-bottom: 20px;
            font-weight: 400;
        }

        .form-group {
            margin-bottom: 13px;
            position: relative;
        }

        .input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .input-icon {
            position: absolute;
            left: 13px;
            color: #475569;
            font-size: 14px;
            z-index: 1;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        input[type="password"] {
            width: 100%;
            padding: 12px 13px 12px 40px;
            border: 1.5px solid #e2e8f0;
            border-radius: 7px;
            font-size: 13px;
            transition: all 0.3s ease;
            background: #f8fafc;
            color: #1e293b;
        }

        input:focus {
            outline: none;
            border-color: #1e40af;
            background: white;
            box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08);
        }

        input::placeholder {
            color: #94a3b8;
        }

        .password-toggle {
            position: absolute;
            right: 13px;
            background: none;
            border: none;
            color: #1e40af;
            cursor: pointer;
            font-size: 18px;
            padding: 5px;
            transition: all 0.3s ease;
        }

        .password-toggle:hover {
            color: #3b82f6;
        }

        /* Sélecteur d'indicateur pays */
        .phone-input-wrapper {
            display: flex;
            gap: 8px;
        }

        .country-select {
            width: 100px;
            padding: 12px 10px;
            border: 1.5px solid #e2e8f0;
            border-radius: 7px;
            font-size: 13px;
            background: #f8fafc;
            color: #1e293b;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .country-select:focus {
            outline: none;
            border-color: #1e40af;
            background: white;
            box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08);
        }

        #phone {
            flex: 1;
            padding-left: 13px;
        }

        .password-strength {
            position: absolute;
            bottom: -17px;
            left: 0;
            font-size: 10px;
            display: none;
            align-items: center;
            gap: 4px;
        }

        .password-strength.show {
            display: flex;
        }

        .password-strength.weak {
            color: #ef4444;
        }

        .password-strength.medium {
            color: #f59e0b;
        }

        .password-strength.strong {
            color: #10b981;
        }

        .password-match {
            position: absolute;
            bottom: -17px;
            left: 0;
            font-size: 10px;
            display: none;
            align-items: center;
            gap: 4px;
            font-weight: 500;
        }

        .password-match.show {
            display: flex;
        }

        .password-match.success {
            color: #10b981;
        }

        .password-match.error {
            color: #ef4444;
        }

        .form-group.has-feedback {
            margin-bottom: 24px;
        }

        .btn-submit {
            width: 100%;
            padding: 13px;
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            color: white;
            border: none;
            border-radius: 7px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.3px;
            margin-top: 6px;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(30, 64, 175, 0.35);
        }

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

        .divider {
            text-align: center;
            margin: 14px 0;
            color: #94a3b8;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.8px;
        }

        .btn-secondary {
            width: 100%;
            padding: 12px;
            background: white;
            color: #475569;
            border: 1.5px solid #e2e8f0;
            border-radius: 7px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-secondary:hover {
            border-color: #1e40af;
            background: #f8fafc;
            transform: translateY(-1px);
        }

        .social-login-buttons {
            display: flex;
            gap: 10px;
            margin-top: 14px;
        }

        .btn-social {
            flex: 1;
            padding: 11px;
            border: 1.5px solid #e2e8f0;
            border-radius: 7px;
            background: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: #475569;
        }

        .btn-social:hover {
            border-color: #1e40af;
            background: #f8fafc;
            transform: translateY(-1px);
        }

        .btn-social i {
            font-size: 16px;
        }

        .btn-google:hover {
            border-color: #EA4335;
            color: #EA4335;
        }

        .btn-github:hover {
            border-color: #333;
            color: #333;
        }

        .signin-link {
            text-align: center;
            margin-top: 16px;
            font-size: 12px;
            color: #64748b;
        }

        .signin-link a {
            color: #1e40af;
            text-decoration: none;
            font-weight: 700;
        }

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

        @media (max-width: 968px) {
            .container {
                flex-direction: column;
                min-height: auto;
            }

            .welcome-section {
                flex: 1;
                padding: 45px 35px;
            }

            .form-section {
                flex: 1;
                padding: 45px 35px;
                clip-path: none;
                margin-left: 0;
            }

            .form-content {
                margin-left: 0;
                max-width: 100%;
            }

            .shape.circle-bottom-right {
                display: none;
            }

            .welcome-section h1 {
                font-size: 38px;
            }
        }
