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

        body {
            font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: radial-gradient(circle at 20% 50%, #1a1a2e 0%, #16213e 25%, #0f0f0f 100%);
            color: #f0f0f0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        /* Animations de fond */
        .background-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        .floating-note {
            position: absolute;
            font-size: 2rem;
            color: rgba(102, 126, 234, 0.1);
            animation: float 6s ease-in-out infinite;
        }

        .floating-note:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
        .floating-note:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
        .floating-note:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
        .floating-note:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
        .floating-note:nth-child(5) { top: 50%; left: 5%; animation-delay: 4s; }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
            50% { transform: translateY(-20px) rotate(5deg); opacity: 0.3; }
        }

        /* Container principal */
        .auth-container {
            background: rgba(255, 255, 255, 0.02);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            padding: 50px;
            width: 100%;
            max-width: 480px;
            position: relative;
            z-index: 1;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        }

        .auth-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 24px 24px 0 0;
        }

        /* Header avec logo */
        .auth-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .logo-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .logo-icon::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
            transform: translateX(-100%);
            animation: shine 2s infinite;
        }

        @keyframes shine {
            0% { transform: translateX(-100%); }
            50% { transform: translateX(100%); }
            100% { transform: translateX(100%); }
        }

        .wave-animation {
            display: flex;
            gap: 3px;
            align-items: center;
        }

        .wave-bar {
            width: 4px;
            height: 20px;
            background: white;
            border-radius: 2px;
            animation: wave 1.5s ease-in-out infinite;
        }

        .wave-bar:nth-child(2) { animation-delay: 0.1s; }
        .wave-bar:nth-child(3) { animation-delay: 0.2s; }
        .wave-bar:nth-child(4) { animation-delay: 0.3s; }

        @keyframes wave {
            0%, 100% { height: 20px; opacity: 0.7; }
            50% { height: 35px; opacity: 1; }
        }

        .logo-text {
            font-size: 32px;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .auth-title {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
            margin-bottom: 8px;
        }

        .auth-subtitle {
            font-size: 16px;
            color: #888;
            line-height: 1.5;
        }

        /* Formulaire */
        .auth-form {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .form-group {
            position: relative;
        }

        .form-label {
            font-size: 14px;
            font-weight: 600;
            color: #fff;
            margin-bottom: 8px;
            display: block;
        }

        .form-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 16px 20px;
            color: #f0f0f0;
            font-size: 16px;
            font-family: inherit;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-input:focus {
            border-color: rgba(102, 126, 234, 0.5);
            background: rgba(255, 255, 255, 0.08);
            box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
            transform: translateY(-2px);
        }

        .form-input::placeholder {
            color: #666;
        }

        .password-toggle {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #888;
            cursor: pointer;
            font-size: 18px;
            transition: color 0.2s ease;
        }

        .password-toggle:hover {
            color: #fff;
        }

        /* Options de connexion */
        .auth-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 10px 0;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: #b0b0b0;
        }

        .checkbox {
            width: 18px;
            height: 18px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 4px;
            background: transparent;
            cursor: pointer;
            position: relative;
            transition: all 0.2s ease;
        }

        .checkbox:checked {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-color: transparent;
        }

        .checkbox:checked::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

        .forgot-password {
            color: #667eea;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        .forgot-password:hover {
            color: #764ba2;
        }

        /* Boutons */
        .auth-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            color: white;
            padding: 16px 24px;
            border-radius: 16px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .auth-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s ease;
        }

        .auth-button:hover::before {
            left: 100%;
        }

        .auth-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
        }

        .auth-button:active {
            transform: translateY(0);
        }

        .auth-button.loading {
            pointer-events: none;
            opacity: 0.8;
        }

        .auth-button.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* Séparateur */
        .auth-divider {
            display: flex;
            align-items: center;
            margin: 30px 0;
            color: #666;
            font-size: 14px;
        }

        .auth-divider::before,
        .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
        }

        .auth-divider span {
            padding: 0 20px;
        }

        /* Boutons sociaux */
        .social-buttons {
            display: flex;
            gap: 15px;
        }

        .social-button {
            flex: 1;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 12px;
            color: #f0f0f0;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .social-button:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .social-button.google:hover {
            border-color: rgba(234, 67, 53, 0.5);
            background: rgba(234, 67, 53, 0.1);
        }

        .social-button.spotify:hover {
            border-color: rgba(30, 215, 96, 0.5);
            background: rgba(30, 215, 96, 0.1);
        }

        /* Lien d'inscription */
        .auth-footer {
            text-align: center;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .auth-footer p {
            color: #888;
            font-size: 14px;
        }

        .auth-footer a {
            color: #667eea;
            text-decoration: none;
            font-weight: 600;
            transition: color 0.2s ease;
        }

        .auth-footer a:hover {
            color: #764ba2;
        }

        /* Messages d'erreur */
        .error-message {
            background: rgba(255, 107, 107, 0.1);
            border: 1px solid rgba(255, 107, 107, 0.3);
            border-radius: 12px;
            padding: 12px 16px;
            color: #ff6b6b;
            font-size: 14px;
            margin-bottom: 20px;
            display: none;
        }

        .success-message {
            background: rgba(74, 222, 128, 0.1);
            border: 1px solid rgba(74, 222, 128, 0.3);
            border-radius: 12px;
            padding: 12px 16px;
            color: #4ade80;
            font-size: 14px;
            margin-bottom: 20px;
            display: none;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .auth-container {
                margin: 20px;
                padding: 30px;
                max-width: none;
            }

            .auth-title {
                font-size: 24px;
            }

            .social-buttons {
                flex-direction: column;
            }
        }

        /* Animations d'entrée */
        .fade-in {
            animation: fadeIn 0.8s ease forwards;
        }

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

        /* Validation du mot de passe */
        .password-validation {
            margin-top: 12px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            display: none;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .password-validation.show {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .password-strength-bar {
            margin-bottom: 16px;
        }

        .strength-progress {
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            overflow: hidden;
            position: relative;
        }

        .strength-progress::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0%;
            background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #0abde3, #00d2d3);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .strength-progress.weak::after {
            width: 20%;
            background: #ff6b6b;
        }

        .strength-progress.fair::after {
            width: 40%;
            background: #feca57;
        }

        .strength-progress.good::after {
            width: 60%;
            background: #48dbfb;
        }

        .strength-progress.strong::after {
            width: 80%;
            background: #0abde3;
        }

        .strength-progress.excellent::after {
            width: 100%;
            background: #00d2d3;
        }

        .strength-label {
            font-size: 12px;
            color: #888;
            margin-top: 8px;
            transition: color 0.3s ease;
        }

        .strength-label.weak {
            color: #ff6b6b;
        }

        .strength-label.fair {
            color: #feca57;
        }

        .strength-label.good {
            color: #48dbfb;
        }

        .strength-label.strong {
            color: #0abde3;
        }

        .strength-label.excellent {
            color: #00d2d3;
        }

        .validation-rules {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .rule-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #888;
            transition: all 0.3s ease;
        }

        .rule-item.valid {
            color: #4ade80;
        }

        .rule-item.invalid {
            color: #ff6b6b;
        }

        .rule-icon {
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .rule-item.valid .rule-icon {
            color: #4ade80;
        }

        .rule-item.invalid .rule-icon {
            color: #ff6b6b;
        }

        .rule-text {
            transition: all 0.3s ease;
        }

        .rule-item.valid .rule-text {
            text-decoration: line-through;
            opacity: 0.7;
        }

        /* Validation de la confirmation du mot de passe */
        .password-match {
            margin-top: 12px;
            padding: 16px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            display: none;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }

        .password-match.show {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .match-indicator {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 13px;
            color: #888;
            transition: all 0.3s ease;
        }

        .match-indicator.valid {
            color: #4ade80;
        }

        .match-indicator.invalid {
            color: #ff6b6b;
        }

        .match-icon {
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .match-indicator.valid .match-icon {
            color: #4ade80;
        }

        .match-indicator.invalid .match-icon {
            color: #ff6b6b;
        }

        /* Animation de pulsation pour les règles actives */
        .rule-item.checking {
            animation: pulse 1s ease-in-out infinite;
        }

        @keyframes pulse {
            0% {
                opacity: 0.6;
            }
            50% {
                opacity: 1;
            }
            100% {
                opacity: 0.6;
            }
        }

        /* Styles spécifiques pour les champs de mot de passe avec validation */
        .form-input.password-strong {
            border-color: rgba(0, 210, 211, 0.5);
            background: rgba(0, 210, 211, 0.05);
        }

        .form-input.password-weak {
            border-color: rgba(255, 107, 107, 0.5);
            background: rgba(255, 107, 107, 0.05);
        }

        .form-input.password-matched {
            border-color: rgba(74, 222, 128, 0.5);
            background: rgba(74, 222, 128, 0.05);
        }

        .form-input.password-mismatch {
            border-color: rgba(255, 107, 107, 0.5);
            background: rgba(255, 107, 107, 0.05);
        }

        /* Responsive pour les composants de validation */
        @media (max-width: 768px) {
            .password-validation,
            .password-match {
                padding: 16px;
            }
            
            .rule-item,
            .match-indicator {
                font-size: 12px;
            }
        }