.password-box {
            display: flex;
            gap: 10px;
            margin: 20px 0 10px 0;
        }
        .password-display {
            font-family: monospace;
            font-size: 1.1rem;
            background: #eef2f7;
            padding: 15px;
            border-radius: 5px;
            word-break: break-all;
            text-align: center;
            min-height: 24px;
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .btn-copy {
            background-color: #6c757d;
            color: white;
            border: none;
            padding: 0 15px;
            font-size: 0.9rem;
            border-radius: 5px;
            cursor: pointer;
            white-space: nowrap;
            transition: background 0.2s;
        }
        .btn-copy:hover {
            background-color: #5a6268;
        }
        .strength-container {
            margin-bottom: 20px;
        }
        .strength-text {
            font-size: 0.85rem;
            font-weight: bold;
            color: #555;
            margin-bottom: 5px;
            display: block;
        }
        .strength-bar-bg {
            background-color: #e0e0e0;
            height: 8px;
            border-radius: 4px;
            overflow: hidden;
            width: 100%;
        }
        .strength-bar {
            height: 100%;
            width: 0%;
            transition: width 0.3s ease, background-color 0.3s ease;
        }
        .control-group {
            margin-bottom: 15px;
        }
        .control-group label {
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .slider {
            width: 100%;
        }
        .checkbox-container {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            cursor: pointer;
            margin-top: 20px;
            margin-bottom: 25px;
        }
        .checkbox-container input {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        .btn-generate {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 12px 20px;
            font-size: 1.5rem;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
            transition: background 0.2s, opacity 0.2s;
        }
        .btn-generate:hover {
            background-color: #0056b3;
        }
        /* Style quand le bouton est désactivé */
        .btn-generate:disabled {
            background-color: #a0a0a0;
            cursor: not-allowed;
            opacity: 0.6;
        }