        * {
            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: 520px;
        }

        .welcome-section {
            flex: 1;
            padding: 60px 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: 50px 35px;
            background: #ffffff;
            position: relative;
            clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
            margin-left: -50px;
        }

        .form-content {
            max-width: 320px;
            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: 24px;
            font-weight: 400;
        }

        .form-group {
            margin-bottom: 16px;
            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="password"] {
            width: 100%;
            padding: 13px 13px 13px 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;
        }

        /* Remember me & Forgot password */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 16px 0 24px 0;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }

        .remember-me input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #1e40af;
            border-radius: 4px;
        }

        .remember-me label {
            font-size: 13px;
            color: #475569;
            cursor: pointer;
            user-select: none;
        }

        .forgot-password {
            font-size: 13px;
            color: #1e40af;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .forgot-password:hover {
            color: #3b82f6;
            text-decoration: underline;
        }

        .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: 18px 0 14px 0;
            color: #94a3b8;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.8px;
            position: relative;
        }

        .divider::before,
        .divider::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 40%;
            height: 1px;
            background: #e2e8f0;
        }

        .divider::before {
            left: 0;
        }

        .divider::after {
            right: 0;
        }

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

        .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;
        }

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

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

        .signup-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;
            }

            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
            }
        }
