* { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%); min-height: 100vh; color: #2d3748; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 20px 0; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 100; }
        .header-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
        .logo { font-size: 24px; font-weight: 700; text-decoration: none; color: white; display: flex; align-items: center; gap: 10px; }
        nav ul { display: flex; list-style: none; gap: 25px; }
        nav a { color: white; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 5px; }
        .breadcrumb { background: white; padding: 15px 0; border-bottom: 1px solid #e2e8f0; }
        .breadcrumb-list { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: #718096; }
        .breadcrumb-list li { display: flex; align-items: center; }
        .breadcrumb-list a { color: #667eea; text-decoration: none; }
        .breadcrumb-list li::after { content: '/'; margin-left: 10px; color: #cbd5e0; }
        .breadcrumb-list li:last-child::after { display: none; }
        .main-content { padding: 40px 0; }
        .tool-section { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); margin-bottom: 40px; }
        .tool-header { text-align: center; margin-bottom: 40px; }
        .tool-header h1 { font-size: 32px; color: #2d3748; margin-bottom: 10px; }
        .tool-header h1 i { color: #667eea; margin-right: 10px; }
        .tool-header p { color: #718096; font-size: 16px; }
        .password-display { background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); border-radius: 15px; padding: 30px; margin-bottom: 30px; position: relative; }
        .password-text { font-size: 28px; font-family: 'Courier New', monospace; color: #48bb78; word-break: break-all; text-align: center; letter-spacing: 2px; }
        .password-actions { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
        .password-actions button { padding: 10px 20px; background: rgba(255,255,255,0.1); border: none; border-radius: 8px; color: white; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
        .password-actions button:hover { background: rgba(255,255,255,0.2); }
        .strength-bar { margin-top: 15px; }
        .strength-bar-bg { height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
        .strength-bar-fill { height: 100%; border-radius: 4px; transition: all 0.3s; }
        .strength-bar-fill.weak { width: 33%; background: #e53e3e; }
        .strength-bar-fill.medium { width: 66%; background: #ed8936; }
        .strength-bar-fill.strong { width: 100%; background: #48bb78; }
        .strength-text { text-align: center; margin-top: 8px; font-size: 14px; color: #a0aec0; }
        .options-section { max-width: 600px; margin: 0 auto; }
        .option-group { margin-bottom: 25px; }
        .option-group label { display: block; margin-bottom: 10px; font-weight: 600; color: #2d3748; }
        .length-control { display: flex; align-items: center; gap: 20px; }
        .length-control input[type="range"] { flex: 1; height: 8px; -webkit-appearance: none; background: #e2e8f0; border-radius: 4px; outline: none; }
        .length-control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; cursor: pointer; }
        .length-value { min-width: 60px; padding: 10px 15px; background: #f7fafc; border: 2px solid #e2e8f0; border-radius: 8px; text-align: center; font-weight: 600; font-size: 18px; }
        .checkbox-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
        .checkbox-item { display: flex; align-items: center; gap: 10px; padding: 15px; background: #f7fafc; border-radius: 10px; cursor: pointer; transition: all 0.3s; }
        .checkbox-item:hover { background: #edf2f7; }
        .checkbox-item input { width: 20px; height: 20px; accent-color: #667eea; }
        .checkbox-item .char-preview { font-family: 'Courier New', monospace; color: #667eea; font-size: 14px; }
        .generate-btn { width: 100%; padding: 18px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 12px; font-size: 18px; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 20px; }
        .generate-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4); }
        .history-section { margin-top: 30px; }
        .history-section h3 { font-size: 18px; color: #2d3748; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
        .history-list { display: flex; flex-direction: column; gap: 10px; }
        .history-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; background: #f7fafc; border-radius: 8px; font-family: 'Courier New', monospace; font-size: 14px; }
        .history-item button { padding: 6px 12px; background: #667eea; color: white; border: none; border-radius: 5px; cursor: pointer; font-size: 12px; }
        .info-section { background: white; border-radius: 15px; padding: 30px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); }
        .info-section h2 { font-size: 20px; color: #2d3748; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .info-section h2 i { color: #667eea; }
        .info-section p { color: #4a5568; margin-bottom: 15px; line-height: 1.8; }
        .info-section ul { margin-left: 20px; color: #4a5568; }
        .info-section li { margin-bottom: 10px; line-height: 1.8; }
        footer { background: #2d3748; color: #a0aec0; padding: 40px 0 20px; margin-top: 60px; }
        .footer-content { text-align: center; }
        .footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
        .footer-links a { color: #a0aec0; text-decoration: none; }
        .copyright { font-size: 14px; color: #718096; }
        @media (max-width: 768px) {
            .header-content { flex-direction: column; text-align: center; }
            nav ul { flex-wrap: wrap; justify-content: center; }
            .tool-section { padding: 25px 15px; }
            .tool-header h1 { font-size: 24px; }
            .password-text { font-size: 20px; }
            .checkbox-group { grid-template-columns: 1fr; }
        }
