/* =====================================================
   PASSWORD GENERATOR STYLES - Basic Calculator Online
   Professional, Modern Design with Full Feature Support
   ===================================================== */

:root {
    --pg-primary: #6366f1;
    --pg-primary-dark: #4f46e5;
    --pg-secondary: #8b5cf6;
    --pg-success: #10b981;
    --pg-warning: #f59e0b;
    --pg-danger: #ef4444;
    --pg-info: #3b82f6;
}

/* ======================= PAGE HEADER ======================= */
.page-header {
    position: relative;
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: #fff;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, .5);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.page-title i {
    font-size: 2rem;
    opacity: .9;
}

.page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .8);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.page-features {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .5rem 1rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9999px;
    color: #fff;
    font-size: .8125rem;
    font-weight: 500;
}

/* ======================= GENERATOR SECTION ======================= */
.generator-section {
    padding: 3rem 0 4rem;
}

.generator-card {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .15);
    overflow: hidden;
}

/* ======================= PASSWORD DISPLAY ======================= */
.password-display-wrapper {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.password-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, .3);
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, .1);
}

.password-text {
    flex: 1;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: 1.375rem;
    font-weight: 600;
    color: #fff;
    word-break: break-all;
    line-height: 1.4;
    letter-spacing: .5px;
}

.password-text.placeholder {
    color: rgba(255, 255, 255, .5);
    font-style: italic;
    font-weight: 400;
}

.password-text.masked {
    letter-spacing: 2px;
}

.password-actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}

.action-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: .75rem;
    color: #fff;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px);
}

.copy-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: .75rem 1.5rem;
    background: var(--pg-success);
    border-radius: .75rem;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    z-index: 10;
}

.copy-feedback.show {
    opacity: 1;
}

/* ======================= STRENGTH METER ======================= */
.strength-meter-wrapper {
    padding: 0 2rem;
    margin-top: -1rem;
    position: relative;
    z-index: 1;
}

.strength-meter {
    height: 8px;
    background: rgba(255, 255, 255, .2);
    border-radius: 9999px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 9999px;
    transition: all .5s ease;
}

.strength-bar.very-weak {
    width: 20%;
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.strength-bar.weak {
    width: 40%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.strength-bar.fair {
    width: 60%;
    background: linear-gradient(90deg, #eab308, #ca8a04);
}

.strength-bar.strong {
    width: 80%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.strength-bar.very-strong {
    width: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
}

.strength-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin: 0 2rem;
}

.strength-label {
    font-weight: 600;
    color: #1f2937;
}

.strength-label.very-weak { color: #ef4444; }
.strength-label.weak { color: #f59e0b; }
.strength-label.fair { color: #eab308; }
.strength-label.strong { color: #22c55e; }
.strength-label.very-strong { color: #10b981; }

.strength-details {
    font-size: .875rem;
    color: #6b7280;
}

/* ======================= PASSWORD STATS ======================= */
.password-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.stat-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: .75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ======================= GENERATOR CONTROLS ======================= */
.generator-controls {
    padding: 2rem;
}

/* ======================= PASSWORD TYPE TABS ======================= */
.password-type-tabs {
    display: flex;
    gap: .5rem;
    padding: .5rem;
    background: #f9fafb;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.type-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    padding: 1rem .75rem;
    background: transparent;
    border: none;
    border-radius: .75rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.type-tab i {
    font-size: 1.5rem;
}

.type-tab span {
    font-size: .8125rem;
}

.type-tab:hover {
    background: #fff;
    color: #1f2937;
}

.type-tab.active {
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, .3);
}

/* ======================= OPTIONS PANEL ======================= */
.options-panel {
    transition: all .3s;
}

.options-panel.hidden {
    display: none;
}

/* ======================= LENGTH CONTROL ======================= */
.length-control {
    margin-bottom: 2rem;
}

.length-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.length-header label {
    font-weight: 600;
    color: #1f2937;
}

.length-input-wrapper {
    display: flex;
    align-items: center;
    gap: .25rem;
    background: #f9fafb;
    border-radius: .75rem;
    padding: .25rem;
}

.length-btn {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    color: #1f2937;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.length-btn:hover {
    background: var(--pg-primary);
    border-color: var(--pg-primary);
    color: #fff;
}

.length-input-wrapper input[type="number"] {
    width: 60px;
    padding: .5rem;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.length-input-wrapper input[type="number"]:focus {
    outline: none;
}

.length-input-wrapper input[type="number"]::-webkit-inner-spin-button,
.length-input-wrapper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.length-slider-wrapper {
    margin-bottom: 1rem;
}

.length-slider-wrapper input[type="range"] {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 9999px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.length-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .4);
    transition: transform .2s;
}

.length-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.length-slider-wrapper input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .4);
}

.length-marks {
    display: flex;
    justify-content: space-between;
    padding: .5rem .5rem 0;
    font-size: .75rem;
    color: #6b7280;
}

.length-presets {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.preset-btn {
    padding: .5rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.preset-btn:hover {
    border-color: var(--pg-primary);
    color: var(--pg-primary);
}

.preset-btn.active {
    background: var(--pg-primary);
    border-color: var(--pg-primary);
    color: #fff;
}

/* ======================= CHARACTER OPTIONS ======================= */
.character-options {
    margin-bottom: 2rem;
}

.options-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.char-option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.char-option {
    cursor: pointer;
}

.char-option input {
    display: none;
}

.option-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    transition: all .2s;
}

.char-option:hover .option-box {
    border-color: var(--pg-primary);
}

.char-option input:checked + .option-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(139, 92, 246, .1));
    border-color: var(--pg-primary);
}

.option-check {
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all .2s;
    flex-shrink: 0;
}

.char-option input:checked + .option-box .option-check {
    background: var(--pg-primary);
    border-color: var(--pg-primary);
    color: #fff;
}

.option-label {
    font-weight: 600;
    color: #1f2937;
}

.option-chars {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: .875rem;
    color: var(--pg-primary);
    background: rgba(99, 102, 241, .1);
    padding: .25rem .5rem;
    border-radius: .25rem;
}

.option-count {
    font-size: .75rem;
    color: #6b7280;
    margin-left: auto;
}

/* ======================= ADVANCED OPTIONS ======================= */
.advanced-options {
    margin-bottom: 2rem;
}

.advanced-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    color: #1f2937;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.advanced-toggle:hover {
    border-color: var(--pg-primary);
}

.advanced-toggle i {
    transition: transform .3s;
}

.advanced-toggle.active i {
    transform: rotate(180deg);
}

.advanced-panel {
    display: none;
    padding: 1.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 1rem 1rem;
    margin-top: -1px;
}

.advanced-panel.show {
    display: block;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.adv-option {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    cursor: pointer;
    transition: all .2s;
}

.adv-option:hover {
    border-color: var(--pg-primary);
}

.adv-option input {
    margin-top: .25rem;
    accent-color: var(--pg-primary);
}

.adv-option-content {
    flex: 1;
}

.adv-title {
    display: block;
    font-weight: 600;
    color: #1f2937;
    font-size: .9375rem;
}

.adv-desc {
    display: block;
    font-size: .8125rem;
    color: #6b7280;
    margin-top: .25rem;
}

.custom-chars-section {
    margin-top: 1.5rem;
}

.custom-chars-section label {
    display: block;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: .5rem;
}

.custom-chars-section input {
    width: 100%;
    padding: .875rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: .9375rem;
    transition: border-color .2s;
}

.custom-chars-section input:focus {
    outline: none;
    border-color: var(--pg-primary);
}

.input-hint {
    display: block;
    font-size: .75rem;
    color: #6b7280;
    margin-top: .5rem;
}

/* ======================= MEMORABLE & PASSPHRASE OPTIONS ======================= */
.memorable-info {
    display: flex;
    gap: .75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, .1), rgba(99, 102, 241, .1));
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.memorable-info i {
    color: var(--pg-info);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.memorable-info p {
    color: #4b5563;
    font-size: .9375rem;
    line-height: 1.5;
    margin: 0;
}

.memorable-options-grid,
.passphrase-options-grid,
.pin-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.mem-option,
.pass-option,
.pin-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    cursor: pointer;
}

.mem-option input,
.pass-option input,
.pin-option input {
    accent-color: var(--pg-primary);
}

.passphrase-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.word-count-control label,
.separator-control label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: .75rem;
}

.word-count-btns,
.separator-btns,
.pin-length-btns {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.word-btn,
.sep-btn,
.pin-btn {
    padding: .625rem 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}

.word-btn:hover,
.sep-btn:hover,
.pin-btn:hover {
    border-color: var(--pg-primary);
    color: var(--pg-primary);
}

.word-btn.active,
.sep-btn.active,
.pin-btn.active {
    background: var(--pg-primary);
    border-color: var(--pg-primary);
    color: #fff;
}

.pin-controls label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: .75rem;
}

/* ======================= GENERATE ACTIONS ======================= */
.generate-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-generate {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border: none;
    border-radius: 1rem;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, .3);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, .4);
}

.btn-generate:active {
    transform: translateY(0);
}

.btn-bulk {
    width: 60px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    color: #6b7280;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-bulk:hover {
    border-color: var(--pg-primary);
    color: var(--pg-primary);
}

/* ======================= BULK PANEL ======================= */
.bulk-panel {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .15);
    margin-top: 1.5rem;
    overflow: hidden;
}

.bulk-panel.hidden {
    display: none;
}

.bulk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.bulk-header h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.close-bulk {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-bulk:hover {
    border-color: var(--pg-danger);
    color: var(--pg-danger);
}

.bulk-controls {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.bulk-count {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.bulk-count label {
    font-weight: 500;
    color: #1f2937;
}

.bulk-count input {
    width: 80px;
    padding: .625rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    font-size: 1rem;
    text-align: center;
}

.btn-generate-bulk {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border: none;
    border-radius: .75rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.btn-generate-bulk:hover {
    transform: translateY(-2px);
}

.bulk-results {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.bulk-placeholder {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.bulk-placeholder i {
    font-size: 3rem;
    opacity: .3;
    margin-bottom: 1rem;
    display: block;
}

.bulk-password-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #f9fafb;
    border-radius: .75rem;
    margin-bottom: .5rem;
}

.bulk-password-item:last-child {
    margin-bottom: 0;
}

.bulk-password-num {
    width: 28px;
    height: 28px;
    background: var(--pg-primary);
    border-radius: .5rem;
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bulk-password-text {
    flex: 1;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: .875rem;
    color: #1f2937;
    word-break: break-all;
}

.bulk-password-copy {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bulk-password-copy:hover {
    border-color: var(--pg-primary);
    color: var(--pg-primary);
}

.bulk-password-copy.copied {
    background: var(--pg-success);
    border-color: var(--pg-success);
    color: #fff;
}

.bulk-actions {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.bulk-actions.hidden {
    display: none;
}

.btn-copy-all,
.btn-download {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    border-radius: .75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.btn-copy-all {
    background: var(--pg-primary);
    border: none;
    color: #fff;
}

.btn-download {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
}

.btn-copy-all:hover,
.btn-download:hover {
    transform: translateY(-2px);
}

/* ======================= HISTORY PANEL ======================= */
.history-panel {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .15);
    margin-top: 1.5rem;
    overflow: hidden;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.history-header h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.clear-history {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-history:hover {
    border-color: var(--pg-danger);
    color: var(--pg-danger);
}

.history-list {
    padding: 1rem 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.history-empty {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.history-empty i {
    font-size: 2.5rem;
    opacity: .3;
    margin-bottom: .75rem;
    display: block;
}

.history-empty p {
    margin: 0 0 .25rem;
    font-weight: 500;
}

.history-empty span {
    font-size: .8125rem;
}

.history-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #f9fafb;
    border-radius: .75rem;
    margin-bottom: .5rem;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-password {
    flex: 1;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: .875rem;
    color: #1f2937;
    word-break: break-all;
}

.history-time {
    font-size: .75rem;
    color: #6b7280;
    white-space: nowrap;
}

.history-copy {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-copy:hover {
    border-color: var(--pg-primary);
    color: var(--pg-primary);
}

/* ======================= SIDEBAR CARDS ======================= */
.sidebar-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 .5rem;
}

.sidebar-card > p {
    font-size: .875rem;
    color: #6b7280;
    margin: 0 0 1rem;
}

/* Checker Card */
.checker-input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.checker-input-wrapper input {
    width: 100%;
    padding: .875rem 3rem .875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    font-size: 1rem;
    transition: border-color .2s;
}

.checker-input-wrapper input:focus {
    outline: none;
    border-color: var(--pg-primary);
}

.toggle-check-visibility {
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
}

.checker-results {
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.checker-results.hidden {
    display: none;
}

.checker-strength {
    height: 8px;
    background: #f3f4f6;
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: .75rem;
}

.checker-bar {
    height: 100%;
    width: 0;
    border-radius: 9999px;
    transition: all .3s;
}

.checker-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: .5rem;
}

.checker-details {
    font-size: .875rem;
    color: #6b7280;
    margin-bottom: .75rem;
}

.checker-issues {
    font-size: .8125rem;
}

.checker-issue {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .375rem 0;
    color: var(--pg-warning);
}

.checker-issue.critical {
    color: var(--pg-danger);
}

/* QR Card */
.qr-display {
    background: #f9fafb;
    border-radius: .75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    color: #6b7280;
}

.qr-placeholder i {
    font-size: 3rem;
    opacity: .3;
    display: block;
    margin-bottom: .5rem;
}

.qr-display canvas,
.qr-display img {
    max-width: 150px;
    max-height: 150px;
}

.btn-generate-qr {
    width: 100%;
    padding: .875rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    color: #1f2937;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.btn-generate-qr:hover:not(:disabled) {
    border-color: var(--pg-primary);
    color: var(--pg-primary);
}

.btn-generate-qr:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Tips Card */
.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .5rem 0;
    font-size: .875rem;
    color: #4b5563;
}

.tips-list li i {
    margin-top: .125rem;
}

.tips-list li .bi-check-circle {
    color: var(--pg-success);
}

.tips-list li .bi-x-circle {
    color: var(--pg-danger);
}

/* Related Card */
.related-tools {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.related-tool {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1rem;
    background: #f9fafb;
    border-radius: .75rem;
    text-decoration: none;
    transition: all .2s;
}

.related-tool:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(139, 92, 246, .1));
}

.related-tool i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.related-tool span {
    font-weight: 500;
    color: #1f2937;
}

/* ======================= SECURITY SECTION ======================= */
.security-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.security-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all .3s;
}

.security-card:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-4px);
}

.security-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
}

.security-card h3 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.security-card p {
    color: rgba(255, 255, 255, .7);
    font-size: .875rem;
    line-height: 1.5;
    margin: 0;
}

/* ======================= GUIDE SECTION ======================= */
.guide-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: .75rem;
}

.section-header p {
    font-size: 1.0625rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.strength-guide {
    margin-bottom: 3rem;
}

.strength-levels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.level-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    transition: all .3s;
}

.level-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}

.level-bar {
    height: 6px;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.level-card.very-weak .level-bar { background: #ef4444; }
.level-card.weak .level-bar { background: #f59e0b; }
.level-card.fair .level-bar { background: #eab308; }
.level-card.strong .level-bar { background: #22c55e; }
.level-card.very-strong .level-bar { background: #10b981; }

.level-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.level-card.very-weak h4 { color: #ef4444; }
.level-card.weak h4 { color: #f59e0b; }
.level-card.fair h4 { color: #eab308; }
.level-card.strong h4 { color: #22c55e; }
.level-card.very-strong h4 { color: #10b981; }

.level-entropy {
    display: block;
    font-size: .75rem;
    color: #6b7280;
    margin-bottom: .75rem;
}

.level-card p {
    font-size: .8125rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: .75rem;
}

.level-example {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: .75rem;
    color: #6b7280;
    background: #f9fafb;
    padding: .5rem;
    border-radius: .5rem;
}

/* Entropy Explainer */
.entropy-explainer {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}

.entropy-explainer h3 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.entropy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.formula-box {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.formula-box .formula {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 1.125rem;
    color: #fff;
    text-align: center;
}

.entropy-formula p {
    font-size: .9375rem;
    color: #6b7280;
    line-height: 1.6;
}

.entropy-table table {
    width: 100%;
    border-collapse: collapse;
}

.entropy-table th,
.entropy-table td {
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.entropy-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.entropy-table td {
    color: #6b7280;
}

/* ======================= HOW TO SECTION ======================= */
.howto-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.howto-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: 50%;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(139, 92, 246, .1));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--pg-primary);
}

.step-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: .5rem;
}

.step-card p {
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ======================= REQUIREMENTS SECTION ======================= */
.requirements-section {
    padding: 4rem 0;
}

.requirements-table-wrapper {
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
}

.requirements-table th,
.requirements-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.requirements-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.requirements-table td {
    color: #6b7280;
}

.requirements-table td:first-child {
    font-weight: 500;
    color: #1f2937;
}

.requirements-table td:first-child i {
    margin-right: .5rem;
    color: var(--pg-primary);
}

.requirements-table tr:last-child td {
    border-bottom: none;
}

.requirements-table tr:hover td {
    background: #f9fafb;
}

/* ======================= COMPARISON SECTION ======================= */
.comparison-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.comparison-grid {
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

.comparison-card {
    flex: 1;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    overflow: hidden;
}

.comparison-card .card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    color: #fff;
    text-align: center;
}

.comparison-card .card-header i {
    font-size: 2rem;
    margin-bottom: .5rem;
    display: block;
}

.comparison-card .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.comparison-card .card-body {
    padding: 1.5rem;
}

.example-display {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: .75rem;
    color: #1f2937;
    word-break: break-all;
    margin-bottom: 1.5rem;
}

.pros-cons {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pros-cons li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    padding: .5rem 0;
    font-size: .9375rem;
}

.pros-cons .pro { color: var(--pg-success); }
.pros-cons .con { color: var(--pg-danger); }

.best-for {
    padding: 1rem;
    background: #f9fafb;
    border-radius: .75rem;
    font-size: .875rem;
    color: #6b7280;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-divider span {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================= FAQ SECTION ======================= */
.faq-section {
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all .2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question span {
    font-weight: 600;
    color: #1f2937;
    padding-right: 1rem;
}

.faq-question i {
    color: #6b7280;
    transition: transform .3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all .3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.25rem 1.25rem;
    font-size: .9375rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* ======================= AVOID SECTION ======================= */
.avoid-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.avoid-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, .1), rgba(220, 38, 38, .1));
    border: 1px solid rgba(239, 68, 68, .3);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.avoid-warning i {
    font-size: 1.5rem;
    color: var(--pg-danger);
    flex-shrink: 0;
}

.avoid-warning p {
    color: #991b1b;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.avoid-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.avoid-category {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.avoid-category h4 {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #e5e7eb;
}

.avoid-list {
    margin: 0;
    padding-left: 1.25rem;
}

.avoid-list li {
    padding: .375rem 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: .875rem;
    color: var(--pg-danger);
}

.avoid-category:last-child .avoid-list {
    list-style: none;
    padding-left: 0;
}

.avoid-category:last-child .avoid-list li {
    font-family: inherit;
    color: #6b7280;
}

/* ======================= RELATED SECTION ======================= */
.related-section {
    padding: 4rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
    transition: all .3s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.related-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--pg-primary), var(--pg-secondary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
}

.related-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: .5rem;
}

.related-card p {
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* ======================= DISCLAIMER SECTION ======================= */
.disclaimer-section {
    padding: 3rem 0;
}

.disclaimer-content {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
}

.disclaimer-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--pg-info), var(--pg-primary));
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.disclaimer-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: .5rem;
}

.disclaimer-text p {
    font-size: .875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ======================= RESPONSIVE DESIGN ======================= */
@media (max-width: 1199.98px) {
    .password-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strength-levels {
        grid-template-columns: repeat(3, 1fr);
    }

    .howto-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .avoid-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .page-title {
        font-size: 2rem;
    }

    .char-option-grid {
        grid-template-columns: 1fr;
    }

    .advanced-grid {
        grid-template-columns: 1fr;
    }

    .entropy-content {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        flex-direction: column;
    }

    .vs-divider {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 3rem 0 2rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .password-display-wrapper {
        padding: 1.5rem;
    }

    .password-text {
        font-size: 1rem;
    }

    .password-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }

    .generator-controls {
        padding: 1.5rem;
    }

    .password-type-tabs {
        flex-wrap: wrap;
    }

    .type-tab {
        flex: 1 1 calc(50% - .25rem);
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .strength-levels {
        grid-template-columns: 1fr;
    }

    .howto-steps {
        grid-template-columns: 1fr;
    }

    .avoid-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .requirements-table-wrapper {
        overflow-x: auto;
    }

    .requirements-table {
        min-width: 600px;
    }
}

@media (max-width: 575.98px) {
    .password-actions {
        flex-wrap: wrap;
    }

    .action-btn {
        width: 38px;
        height: 38px;
    }

    .length-presets {
        justify-content: center;
    }

    .generate-actions {
        flex-direction: column;
    }

    .btn-bulk {
        width: 100%;
        height: auto;
        padding: 1rem;
    }

    .bulk-controls {
        flex-direction: column;
    }

    .disclaimer-content {
        flex-direction: column;
    }
}

/* ======================= DARK MODE ======================= */
[data-theme="dark"] .generator-card,
[data-theme="dark"] .bulk-panel,
[data-theme="dark"] .history-panel,
[data-theme="dark"] .sidebar-card,
[data-theme="dark"] .level-card,
[data-theme="dark"] .entropy-explainer,
[data-theme="dark"] .step-card,
[data-theme="dark"] .requirements-table-wrapper,
[data-theme="dark"] .comparison-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .avoid-category,
[data-theme="dark"] .related-card {
    background: #1f2937;
}

[data-theme="dark"] .password-display-wrapper {
    background: linear-gradient(135deg, #0f0d1a, #1a1830);
}

[data-theme="dark"] .password-display {
    background: rgba(0, 0, 0, .5);
}

[data-theme="dark"] .strength-meter,
[data-theme="dark"] .checker-strength {
    background: rgba(255, 255, 255, .1);
}

[data-theme="dark"] .password-stats,
[data-theme="dark"] .bulk-header,
[data-theme="dark"] .bulk-actions,
[data-theme="dark"] .history-header {
    background: #111827;
}

[data-theme="dark"] .password-type-tabs,
[data-theme="dark"] .length-input-wrapper,
[data-theme="dark"] .option-box,
[data-theme="dark"] .advanced-toggle,
[data-theme="dark"] .advanced-panel,
[data-theme="dark"] .memorable-info,
[data-theme="dark"] .bulk-password-item,
[data-theme="dark"] .history-item,
[data-theme="dark"] .qr-display,
[data-theme="dark"] .example-display,
[data-theme="dark"] .best-for,
[data-theme="dark"] .level-example,
[data-theme="dark"] .disclaimer-content {
    background: #111827;
}

[data-theme="dark"] .option-check,
[data-theme="dark"] .length-btn,
[data-theme="dark"] .preset-btn,
[data-theme="dark"] .adv-option,
[data-theme="dark"] .custom-chars-section input,
[data-theme="dark"] .checker-input-wrapper input,
[data-theme="dark"] .bulk-count input,
[data-theme="dark"] .close-bulk,
[data-theme="dark"] .clear-history,
[data-theme="dark"] .bulk-password-copy,
[data-theme="dark"] .history-copy {
    background: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
}

[data-theme="dark"] .char-option input:checked + .option-box {
    background: rgba(99, 102, 241, .2);
}

[data-theme="dark"] .related-tool:hover {
    background: rgba(99, 102, 246, .2);
}

[data-theme="dark"] .requirements-table th,
[data-theme="dark"] .entropy-table th {
    background: #111827;
}

[data-theme="dark"] .avoid-warning {
    background: rgba(239, 68, 68, .2);
}

[data-theme="dark"] .avoid-warning p {
    color: #fca5a5;
}

[data-theme="dark"] .faq-question:hover {
    background: #111827;
}

[data-theme="dark"] .strength-label,
[data-theme="dark"] .stat-value,
[data-theme="dark"] .length-header label,
[data-theme="dark"] .options-title,
[data-theme="dark"] .option-label,
[data-theme="dark"] .adv-title,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .faq-question span,
[data-theme="dark"] .related-card h3,
[data-theme="dark"] .step-card h3 {
    color: #f3f4f6;
}

[data-theme="dark"] .strength-details,
[data-theme="dark"] .stat-label,
[data-theme="dark"] .section-header p,
[data-theme="dark"] .faq-answer p {
    color: #9ca3af;
}