.tecz-pwd-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tecz-pwd-header {
    background: #f8fafc;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.tecz-pwd-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    color: #1e293b;
}

.tecz-pwd-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.tecz-pwd-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.tecz-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tecz-tab-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.tecz-tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
    background: #ffffff;
}

.tecz-pwd-content {
    padding: 20px;
}

.tecz-pwd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tecz-form-group {
    margin-bottom: 20px;
}

.tecz-form-group label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
}

#tecz-length-val {
    color: #3b82f6;
    font-weight: 700;
}

.tecz-range-slider {
    width: 100%;
    cursor: pointer;
    accent-color: #3b82f6;
}

.tecz-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.tecz-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
}

.tecz-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.tecz-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.tecz-btn:hover {
    background: #2563eb;
}

.tecz-btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.tecz-pwd-output-panel {
    display: flex;
    flex-direction: column;
    background: #1e293b;
    border-radius: 6px;
    padding: 20px;
}

.tecz-output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.95rem;
}

.tecz-strength-badge {
    background: #10b981;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tecz-strength-badge.weak { background: #ef4444; }
.tecz-strength-badge.medium { background: #f59e0b; }
.tecz-strength-badge.strong { background: #10b981; }

.tecz-result-box {
    flex-grow: 1;
    width: 100%;
    background: #0f172a;
    color: #38bdf8;
    border: 1px solid #334155;
    border-radius: 4px;
    padding: 15px;
    font-family: monospace;
    font-size: 1.1rem;
    resize: none;
    box-sizing: border-box;
    margin-bottom: 15px;
    word-break: break-all;
}

.tecz-result-box:focus {
    outline: none;
    border-color: #64748b;
}

.tecz-action-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tecz-copy-msg {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Salts Tab Styles */
.tecz-salts-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tecz-desc-text {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.tecz-desc-text code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #ef4444;
}

.tecz-salts-output-panel {
    background: #1e293b;
    border-radius: 6px;
    padding: 20px;
}

.tecz-salts-box {
    font-size: 0.85rem;
    color: #a7f3d0;
    min-height: 200px;
    white-space: pre;
    overflow-x: auto;
}

@media (max-width: 600px) {
    .tecz-pwd-grid {
        grid-template-columns: 1fr;
    }
}