:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --string-color: #6f42c1;
            --security-color: #e83e8c;
        }
     .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden; color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.15);
        }
        .char-type-options {
            background-color: var(--light-gray);
            border-radius: 8px;
            padding: 1.25rem;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
        }
        .char-type-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        .char-type-title {
            font-weight: 600;
            color: var(--primary-color);
            margin: 0;
        }
        .char-type-toggle {
            background: none;
            border: none;
            color: var(--primary-color);
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 4px;
            transition: background-color 0.2s;
        }
        .char-type-toggle:hover {
            background-color: rgba(44, 125, 160, 0.1);
        }
        .char-type-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }
        @media (min-width: 768px) {
            .char-type-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        .char-type-option {
            display: flex;
            align-items: center;
            padding: 0.5rem;
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .char-type-option:hover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        .char-type-option.active {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.1);
        }
        .char-type-checkbox {
            margin-right: 0.75rem;
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        .char-type-label {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .char-type-name {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-color);
        }
        .char-type-count {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .char-type-icon {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 0.75rem;
            font-size: 1rem;
        }
        .icon-lowercase {
            background-color: rgba(111, 66, 193, 0.1);
            color: #6f42c1;
        }
        .icon-uppercase {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }
        .icon-numbers {
            background-color: rgba(255, 193, 7, 0.1);
            color: #ffc107;
        }
        .icon-symbols {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }
        .char-type-preview {display:none;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
        }
        .preview-label {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        .preview-content {
            font-family: 'Courier New', monospace;
            background-color: white;
            padding: 0.75rem;
            border-radius: 4px;
            border: 1px solid var(--border-color);
            font-size: 0.9rem;
            overflow-x: auto;
            white-space: nowrap;
        }
        .char-type-info {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
        }
        .char-count {
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        .char-count-value {
            font-weight: 600;
            color: var(--primary-color);
        }
        .string-result {
            padding: 12px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-family: 'Courier New', monospace;
            font-size: 1.1rem;
            margin: 10px 0;
            word-break: break-all;
            position: relative;
        }
        .string-result.with-copy {
            padding-right: 50px;
        }
        .copy-btn {
            position: absolute;
            right: 10px; 
            transform: translateY(-50%);
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.3);
            border-radius: 4px;
            padding: 5px 10px;
            font-size: 0.85rem;
            color: var(--primary-color);
            cursor: pointer;
        }
        .copy-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
        }
        .copy-all-btn {
            margin-top: 10px;
        }
        .security-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 8px;
            margin-bottom: 8px;
        }
        .security-weak {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }
        .security-medium {
            background-color: rgba(255, 193, 7, 0.1);
            color: #ffc107;
        }
        .security-strong {
            background-color: rgba(40, 167, 69, 0.1);
            color: #28a745;
        }
        .security-very-strong {
            background-color: rgba(0, 123, 255, 0.1);
            color: #007bff;
        }
        .batch-results {
            max-height: 300px;
            overflow-y: auto;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 10px;
            background-color: white;
        }
        .batch-item {
            padding: 8px;
            border-bottom: 1px solid var(--border-color);
            font-family: 'Courier New', monospace;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .batch-item:last-child {
            border-bottom: none;
        }
        .batch-index {
            font-weight: 600;
            color: var(--text-muted);
            min-width: 30px;
        }
        .strength-meter {
            height: 8px;
            background-color: #e9ecef;
            border-radius: 4px;
            overflow: hidden;
            margin: 15px 0;
        }
        .strength-meter-fill {
            height: 100%;
            width: 0%;
            transition: width 0.5s ease;
        }
        .security-box {
            background-color: rgba(232, 62, 140, 0.05);
            border-left: 3px solid var(--security-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            }
        .preset-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .preset-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .preset-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
            transform: translateY(-2px);
        }
        .entropy-info {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-top: 5px;
        }
        .pattern-help {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 5px;
        }
        .pattern-example {
            font-family: 'Courier New', monospace;
            background-color: var(--light-gray);
            padding: 2px 5px;
            border-radius: 3px;
            font-size: 0.85rem;
        }